aboutsummaryrefslogtreecommitdiff
path: root/src/api/burn/WixToolset.BootstrapperApplicationApi/IMbaCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/burn/WixToolset.BootstrapperApplicationApi/IMbaCommand.cs')
-rw-r--r--src/api/burn/WixToolset.BootstrapperApplicationApi/IMbaCommand.cs35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.BootstrapperApplicationApi/IMbaCommand.cs b/src/api/burn/WixToolset.BootstrapperApplicationApi/IMbaCommand.cs
new file mode 100644
index 00000000..37640a87
--- /dev/null
+++ b/src/api/burn/WixToolset.BootstrapperApplicationApi/IMbaCommand.cs
@@ -0,0 +1,35 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.BootstrapperApplicationApi
4{
5 using System.Collections.Generic;
6
7 /// <summary>
8 /// Command information parsed from the command line.
9 /// </summary>
10 public interface IMbaCommand
11 {
12 /// <summary>
13 /// Gets the action to perform if a reboot is required.
14 /// </summary>
15 Restart Restart { get; }
16
17 /// <summary>
18 /// The command line arguments not parsed into <see cref="IBootstrapperCommand"/> or <see cref="IMbaCommand"/>.
19 /// </summary>
20 string[] UnknownCommandLineArgs { get; }
21
22 /// <summary>
23 /// The variables that were parsed from the command line.
24 /// Key = variable name, Value = variable value.
25 /// </summary>
26 KeyValuePair<string, string>[] Variables { get; }
27
28 /// <summary>
29 /// Sets overridable variables from the command line.
30 /// </summary>
31 /// <param name="overridableVariables">The overridable variable information from <see cref="IBootstrapperApplicationData"/>.</param>
32 /// <param name="engine">The engine.</param>
33 void SetOverridableVariables(IOverridableVariables overridableVariables, IEngine engine);
34 }
35}