summaryrefslogtreecommitdiff
path: root/src/api/burn/WixToolset.Mba.Core/EventArgs.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-03-13 23:45:32 -0500
committerSean Hall <r.sean.hall@gmail.com>2022-03-14 14:53:29 -0500
commit4cd1c4e06145434ca940ac828772dc47b9d9738e (patch)
treea754d685039173c63303dc6d0d8b1a2bf3ab506b /src/api/burn/WixToolset.Mba.Core/EventArgs.cs
parent89adb2e3cc232b11b28e5bdeccb0c522c8124a29 (diff)
downloadwix-4cd1c4e06145434ca940ac828772dc47b9d9738e.tar.gz
wix-4cd1c4e06145434ca940ac828772dc47b9d9738e.tar.bz2
wix-4cd1c4e06145434ca940ac828772dc47b9d9738e.zip
Allow the BA to override the bundle relation type during plan.
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/EventArgs.cs')
-rw-r--r--src/api/burn/WixToolset.Mba.Core/EventArgs.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs
index 816757cc..d8ec7998 100644
--- a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs
+++ b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs
@@ -746,6 +746,37 @@ namespace WixToolset.Mba.Core
746 } 746 }
747 747
748 /// <summary> 748 /// <summary>
749 /// Event arguments for <see cref="IDefaultBootstrapperApplication.PlanRelatedBundleType"/>
750 /// </summary>
751 [Serializable]
752 public class PlanRelatedBundleTypeEventArgs : CancellableHResultEventArgs
753 {
754 /// <summary />
755 public PlanRelatedBundleTypeEventArgs(string bundleId, RelatedBundlePlanType recommendedType, RelatedBundlePlanType type, bool cancelRecommendation)
756 : base(cancelRecommendation)
757 {
758 this.BundleId = bundleId;
759 this.RecommendedType = recommendedType;
760 this.Type = type;
761 }
762
763 /// <summary>
764 /// Gets the identity of the bundle to plan for.
765 /// </summary>
766 public string BundleId { get; private set; }
767
768 /// <summary>
769 /// Gets the recommended plan type for the bundle.
770 /// </summary>
771 public RelatedBundlePlanType RecommendedType { get; private set; }
772
773 /// <summary>
774 /// Gets or sets the plan type for the bundle.
775 /// </summary>
776 public RelatedBundlePlanType Type { get; set; }
777 }
778
779 /// <summary>
749 /// Event arguments for <see cref="IDefaultBootstrapperApplication.PlanPackageBegin"/> 780 /// Event arguments for <see cref="IDefaultBootstrapperApplication.PlanPackageBegin"/>
750 /// </summary> 781 /// </summary>
751 [Serializable] 782 [Serializable]