From 4cd1c4e06145434ca940ac828772dc47b9d9738e Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sun, 13 Mar 2022 23:45:32 -0500 Subject: Allow the BA to override the bundle relation type during plan. --- src/api/burn/WixToolset.Mba.Core/EventArgs.cs | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'src/api/burn/WixToolset.Mba.Core/EventArgs.cs') 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 @@ -745,6 +745,37 @@ namespace WixToolset.Mba.Core public RequestState State { get; set; } } + /// + /// Event arguments for + /// + [Serializable] + public class PlanRelatedBundleTypeEventArgs : CancellableHResultEventArgs + { + /// + public PlanRelatedBundleTypeEventArgs(string bundleId, RelatedBundlePlanType recommendedType, RelatedBundlePlanType type, bool cancelRecommendation) + : base(cancelRecommendation) + { + this.BundleId = bundleId; + this.RecommendedType = recommendedType; + this.Type = type; + } + + /// + /// Gets the identity of the bundle to plan for. + /// + public string BundleId { get; private set; } + + /// + /// Gets the recommended plan type for the bundle. + /// + public RelatedBundlePlanType RecommendedType { get; private set; } + + /// + /// Gets or sets the plan type for the bundle. + /// + public RelatedBundlePlanType Type { get; set; } + } + /// /// Event arguments for /// -- cgit v1.2.3-55-g6feb