diff options
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/EventArgs.cs')
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/EventArgs.cs | 31 |
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 d4d70651..2e1e1be3 100644 --- a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs +++ b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs | |||
@@ -2402,4 +2402,35 @@ namespace WixToolset.Mba.Core | |||
2402 | /// </summary> | 2402 | /// </summary> |
2403 | public string NewPackageId { get; private set; } | 2403 | public string NewPackageId { get; private set; } |
2404 | } | 2404 | } |
2405 | |||
2406 | /// <summary> | ||
2407 | /// Event arguments for <see cref="IDefaultBootstrapperApplication.PlanRestoreRelatedBundle"/> | ||
2408 | /// </summary> | ||
2409 | [Serializable] | ||
2410 | public class PlanRestoreRelatedBundleEventArgs : CancellableHResultEventArgs | ||
2411 | { | ||
2412 | /// <summary /> | ||
2413 | public PlanRestoreRelatedBundleEventArgs(string bundleId, RequestState recommendedState, RequestState state, bool cancelRecommendation) | ||
2414 | : base(cancelRecommendation) | ||
2415 | { | ||
2416 | this.BundleId = bundleId; | ||
2417 | this.RecommendedState = recommendedState; | ||
2418 | this.State = state; | ||
2419 | } | ||
2420 | |||
2421 | /// <summary> | ||
2422 | /// Gets the identity of the bundle to plan for. | ||
2423 | /// </summary> | ||
2424 | public string BundleId { get; private set; } | ||
2425 | |||
2426 | /// <summary> | ||
2427 | /// Gets the recommended requested state for the bundle. | ||
2428 | /// </summary> | ||
2429 | public RequestState RecommendedState { get; private set; } | ||
2430 | |||
2431 | /// <summary> | ||
2432 | /// Gets or sets the requested state for the bundle. | ||
2433 | /// </summary> | ||
2434 | public RequestState State { get; set; } | ||
2435 | } | ||
2405 | } | 2436 | } |