summaryrefslogtreecommitdiff
path: root/src/api/burn/WixToolset.Mba.Core/IMbaCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/IMbaCommand.cs')
-rw-r--r--src/api/burn/WixToolset.Mba.Core/IMbaCommand.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/IMbaCommand.cs b/src/api/burn/WixToolset.Mba.Core/IMbaCommand.cs
new file mode 100644
index 00000000..a3ad68d8
--- /dev/null
+++ b/src/api/burn/WixToolset.Mba.Core/IMbaCommand.cs
@@ -0,0 +1,30 @@
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.Mba.Core
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 /// The command line arguments not parsed into <see cref="IBootstrapperCommand"/> or <see cref="IMbaCommand"/>.
14 /// </summary>
15 string[] UnknownCommandLineArgs { get; }
16
17 /// <summary>
18 /// The variables that were parsed from the command line.
19 /// Key = variable name, Value = variable value.
20 /// </summary>
21 KeyValuePair<string, string>[] Variables { get; }
22
23 /// <summary>
24 /// Sets overridable variables from the command line.
25 /// </summary>
26 /// <param name="overridableVariables">The overridable variable information from <see cref="IBootstrapperApplicationData"/>.</param>
27 /// <param name="engine">The engine.</param>
28 void SetOverridableVariables(IOverridableVariables overridableVariables, IEngine engine);
29 }
30}