diff options
Diffstat (limited to 'src/WixToolset.Mba.Core/EventArgs.cs')
-rw-r--r-- | src/WixToolset.Mba.Core/EventArgs.cs | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/WixToolset.Mba.Core/EventArgs.cs b/src/WixToolset.Mba.Core/EventArgs.cs index e739a853..71bd15e1 100644 --- a/src/WixToolset.Mba.Core/EventArgs.cs +++ b/src/WixToolset.Mba.Core/EventArgs.cs | |||
@@ -241,14 +241,14 @@ namespace WixToolset.Mba.Core | |||
241 | /// <param name="version">The version of the forward compatible bundle detected.</param> | 241 | /// <param name="version">The version of the forward compatible bundle detected.</param> |
242 | /// <param name="cancelRecommendation">The cancel recommendation from the engine.</param> | 242 | /// <param name="cancelRecommendation">The cancel recommendation from the engine.</param> |
243 | /// <param name="ignoreBundleRecommendation">The ignore recommendation from the engine.</param> | 243 | /// <param name="ignoreBundleRecommendation">The ignore recommendation from the engine.</param> |
244 | public DetectForwardCompatibleBundleEventArgs(string bundleId, RelationType relationType, string bundleTag, bool perMachine, long version, bool cancelRecommendation, bool ignoreBundleRecommendation) | 244 | public DetectForwardCompatibleBundleEventArgs(string bundleId, RelationType relationType, string bundleTag, bool perMachine, string version, bool cancelRecommendation, bool ignoreBundleRecommendation) |
245 | : base(cancelRecommendation) | 245 | : base(cancelRecommendation) |
246 | { | 246 | { |
247 | this.BundleId = bundleId; | 247 | this.BundleId = bundleId; |
248 | this.RelationType = relationType; | 248 | this.RelationType = relationType; |
249 | this.BundleTag = bundleTag; | 249 | this.BundleTag = bundleTag; |
250 | this.PerMachine = perMachine; | 250 | this.PerMachine = perMachine; |
251 | this.Version = Engine.LongToVersion(version); | 251 | this.Version = version; |
252 | this.IgnoreBundle = ignoreBundleRecommendation; | 252 | this.IgnoreBundle = ignoreBundleRecommendation; |
253 | } | 253 | } |
254 | 254 | ||
@@ -275,7 +275,7 @@ namespace WixToolset.Mba.Core | |||
275 | /// <summary> | 275 | /// <summary> |
276 | /// Gets the version of the forward compatible bundle detected. | 276 | /// Gets the version of the forward compatible bundle detected. |
277 | /// </summary> | 277 | /// </summary> |
278 | public Version Version { get; private set; } | 278 | public string Version { get; private set; } |
279 | 279 | ||
280 | /// <summary> | 280 | /// <summary> |
281 | /// Instructs the engine whether to use the forward compatible bundle. | 281 | /// Instructs the engine whether to use the forward compatible bundle. |
@@ -330,12 +330,12 @@ namespace WixToolset.Mba.Core | |||
330 | /// <param name="content">The content of the updated bundle.</param> | 330 | /// <param name="content">The content of the updated bundle.</param> |
331 | /// <param name="cancelRecommendation">The recommendation from the engine.</param> | 331 | /// <param name="cancelRecommendation">The recommendation from the engine.</param> |
332 | /// <param name="stopRecommendation">The recommendation from the engine.</param> | 332 | /// <param name="stopRecommendation">The recommendation from the engine.</param> |
333 | public DetectUpdateEventArgs(string updateLocation, long size, long version, string title, string summary, string contentType, string content, bool cancelRecommendation, bool stopRecommendation) | 333 | public DetectUpdateEventArgs(string updateLocation, long size, string version, string title, string summary, string contentType, string content, bool cancelRecommendation, bool stopRecommendation) |
334 | : base(cancelRecommendation) | 334 | : base(cancelRecommendation) |
335 | { | 335 | { |
336 | this.UpdateLocation = updateLocation; | 336 | this.UpdateLocation = updateLocation; |
337 | this.Size = size; | 337 | this.Size = size; |
338 | this.Version = Engine.LongToVersion(version); | 338 | this.Version = version; |
339 | this.Title = title; | 339 | this.Title = title; |
340 | this.Summary = summary; | 340 | this.Summary = summary; |
341 | this.ContentType = contentType; | 341 | this.ContentType = contentType; |
@@ -356,7 +356,7 @@ namespace WixToolset.Mba.Core | |||
356 | /// <summary> | 356 | /// <summary> |
357 | /// Gets the version of the updated bundle. | 357 | /// Gets the version of the updated bundle. |
358 | /// </summary> | 358 | /// </summary> |
359 | public Version Version { get; private set; } | 359 | public string Version { get; private set; } |
360 | 360 | ||
361 | /// <summary> | 361 | /// <summary> |
362 | /// Gets the title of the the updated bundle. | 362 | /// Gets the title of the the updated bundle. |
@@ -423,14 +423,14 @@ namespace WixToolset.Mba.Core | |||
423 | /// <param name="version">The version of the related bundle detected.</param> | 423 | /// <param name="version">The version of the related bundle detected.</param> |
424 | /// <param name="operation">The operation that will be taken on the detected bundle.</param> | 424 | /// <param name="operation">The operation that will be taken on the detected bundle.</param> |
425 | /// <param name="cancelRecommendation">The recommendation from the engine.</param> | 425 | /// <param name="cancelRecommendation">The recommendation from the engine.</param> |
426 | public DetectRelatedBundleEventArgs(string productCode, RelationType relationType, string bundleTag, bool perMachine, long version, RelatedOperation operation, bool cancelRecommendation) | 426 | public DetectRelatedBundleEventArgs(string productCode, RelationType relationType, string bundleTag, bool perMachine, string version, RelatedOperation operation, bool cancelRecommendation) |
427 | : base(cancelRecommendation) | 427 | : base(cancelRecommendation) |
428 | { | 428 | { |
429 | this.ProductCode = productCode; | 429 | this.ProductCode = productCode; |
430 | this.RelationType = relationType; | 430 | this.RelationType = relationType; |
431 | this.BundleTag = bundleTag; | 431 | this.BundleTag = bundleTag; |
432 | this.PerMachine = perMachine; | 432 | this.PerMachine = perMachine; |
433 | this.Version = Engine.LongToVersion(version); | 433 | this.Version = version; |
434 | this.Operation = operation; | 434 | this.Operation = operation; |
435 | } | 435 | } |
436 | 436 | ||
@@ -457,7 +457,7 @@ namespace WixToolset.Mba.Core | |||
457 | /// <summary> | 457 | /// <summary> |
458 | /// Gets the version of the related bundle detected. | 458 | /// Gets the version of the related bundle detected. |
459 | /// </summary> | 459 | /// </summary> |
460 | public Version Version { get; private set; } | 460 | public string Version { get; private set; } |
461 | 461 | ||
462 | /// <summary> | 462 | /// <summary> |
463 | /// Gets the operation that will be taken on the detected bundle. | 463 | /// Gets the operation that will be taken on the detected bundle. |
@@ -501,12 +501,12 @@ namespace WixToolset.Mba.Core | |||
501 | /// <param name="compatiblePackageId">The identity of the compatible package that was detected.</param> | 501 | /// <param name="compatiblePackageId">The identity of the compatible package that was detected.</param> |
502 | /// <param name="compatiblePackageVersion">The version of the compatible package that was detected.</param> | 502 | /// <param name="compatiblePackageVersion">The version of the compatible package that was detected.</param> |
503 | /// <param name="cancelRecommendation">The recommendation from the engine.</param> | 503 | /// <param name="cancelRecommendation">The recommendation from the engine.</param> |
504 | public DetectCompatibleMsiPackageEventArgs(string packageId, string compatiblePackageId, long compatiblePackageVersion, bool cancelRecommendation) | 504 | public DetectCompatibleMsiPackageEventArgs(string packageId, string compatiblePackageId, string compatiblePackageVersion, bool cancelRecommendation) |
505 | : base(cancelRecommendation) | 505 | : base(cancelRecommendation) |
506 | { | 506 | { |
507 | this.PackageId = packageId; | 507 | this.PackageId = packageId; |
508 | this.CompatiblePackageId = compatiblePackageId; | 508 | this.CompatiblePackageId = compatiblePackageId; |
509 | this.CompatiblePackageVersion = Engine.LongToVersion(compatiblePackageVersion); | 509 | this.CompatiblePackageVersion = compatiblePackageVersion; |
510 | } | 510 | } |
511 | 511 | ||
512 | /// <summary> | 512 | /// <summary> |
@@ -522,7 +522,7 @@ namespace WixToolset.Mba.Core | |||
522 | /// <summary> | 522 | /// <summary> |
523 | /// Gets the version of the compatible package that was detected. | 523 | /// Gets the version of the compatible package that was detected. |
524 | /// </summary> | 524 | /// </summary> |
525 | public Version CompatiblePackageVersion { get; private set; } | 525 | public string CompatiblePackageVersion { get; private set; } |
526 | } | 526 | } |
527 | 527 | ||
528 | /// <summary> | 528 | /// <summary> |
@@ -541,14 +541,14 @@ namespace WixToolset.Mba.Core | |||
541 | /// <param name="version">The version of the related package detected.</param> | 541 | /// <param name="version">The version of the related package detected.</param> |
542 | /// <param name="operation">The operation that will be taken on the detected package.</param> | 542 | /// <param name="operation">The operation that will be taken on the detected package.</param> |
543 | /// <param name="cancelRecommendation">The recommendation from the engine.</param> | 543 | /// <param name="cancelRecommendation">The recommendation from the engine.</param> |
544 | public DetectRelatedMsiPackageEventArgs(string packageId, string upgradeCode, string productCode, bool perMachine, long version, RelatedOperation operation, bool cancelRecommendation) | 544 | public DetectRelatedMsiPackageEventArgs(string packageId, string upgradeCode, string productCode, bool perMachine, string version, RelatedOperation operation, bool cancelRecommendation) |
545 | : base(cancelRecommendation) | 545 | : base(cancelRecommendation) |
546 | { | 546 | { |
547 | this.PackageId = packageId; | 547 | this.PackageId = packageId; |
548 | this.UpgradeCode = upgradeCode; | 548 | this.UpgradeCode = upgradeCode; |
549 | this.ProductCode = productCode; | 549 | this.ProductCode = productCode; |
550 | this.PerMachine = perMachine; | 550 | this.PerMachine = perMachine; |
551 | this.Version = Engine.LongToVersion(version); | 551 | this.Version = version; |
552 | this.Operation = operation; | 552 | this.Operation = operation; |
553 | } | 553 | } |
554 | 554 | ||
@@ -575,7 +575,7 @@ namespace WixToolset.Mba.Core | |||
575 | /// <summary> | 575 | /// <summary> |
576 | /// Gets the version of the related package detected. | 576 | /// Gets the version of the related package detected. |
577 | /// </summary> | 577 | /// </summary> |
578 | public Version Version { get; private set; } | 578 | public string Version { get; private set; } |
579 | 579 | ||
580 | /// <summary> | 580 | /// <summary> |
581 | /// Gets the operation that will be taken on the detected package. | 581 | /// Gets the operation that will be taken on the detected package. |
@@ -813,12 +813,12 @@ namespace WixToolset.Mba.Core | |||
813 | /// <param name="recommendedState">The recommended request state for the compatible package.</param> | 813 | /// <param name="recommendedState">The recommended request state for the compatible package.</param> |
814 | /// <param name="state">The requested state for the compatible package.</param> | 814 | /// <param name="state">The requested state for the compatible package.</param> |
815 | /// <param name="cancelRecommendation">The recommendation from the engine.</param> | 815 | /// <param name="cancelRecommendation">The recommendation from the engine.</param> |
816 | public PlanCompatibleMsiPackageBeginEventArgs(string packageId, string compatiblePackageId, long compatiblePackageVersion, RequestState recommendedState, RequestState state, bool cancelRecommendation) | 816 | public PlanCompatibleMsiPackageBeginEventArgs(string packageId, string compatiblePackageId, string compatiblePackageVersion, RequestState recommendedState, RequestState state, bool cancelRecommendation) |
817 | : base(cancelRecommendation) | 817 | : base(cancelRecommendation) |
818 | { | 818 | { |
819 | this.PackageId = packageId; | 819 | this.PackageId = packageId; |
820 | this.CompatiblePackageId = compatiblePackageId; | 820 | this.CompatiblePackageId = compatiblePackageId; |
821 | this.CompatiblePackageVersion = Engine.LongToVersion(compatiblePackageVersion); | 821 | this.CompatiblePackageVersion = compatiblePackageVersion; |
822 | this.RecommendedState = recommendedState; | 822 | this.RecommendedState = recommendedState; |
823 | this.State = state; | 823 | this.State = state; |
824 | } | 824 | } |
@@ -836,7 +836,7 @@ namespace WixToolset.Mba.Core | |||
836 | /// <summary> | 836 | /// <summary> |
837 | /// Gets the version of the compatible package detected. | 837 | /// Gets the version of the compatible package detected. |
838 | /// </summary> | 838 | /// </summary> |
839 | public Version CompatiblePackageVersion { get; private set; } | 839 | public string CompatiblePackageVersion { get; private set; } |
840 | 840 | ||
841 | /// <summary> | 841 | /// <summary> |
842 | /// Gets the recommended state to use for the compatible package for planning. | 842 | /// Gets the recommended state to use for the compatible package for planning. |