diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-06-29 19:14:02 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-07-02 12:50:09 -0500 |
| commit | 8cbfc326cccf8d9b3b63cb6f752fc770f7dee0fc (patch) | |
| tree | 639f70e7327cdfade62271da04aaaaae2e85cc05 /src/api/burn/WixToolset.Mba.Core/IMbaCommand.cs | |
| parent | e844f12f7d7247a1e9ba4eef2a388e614001bb24 (diff) | |
| download | wix-8cbfc326cccf8d9b3b63cb6f752fc770f7dee0fc.tar.gz wix-8cbfc326cccf8d9b3b63cb6f752fc770f7dee0fc.tar.bz2 wix-8cbfc326cccf8d9b3b63cb6f752fc770f7dee0fc.zip | |
Expose overridable variable APIs in balutil and Mba.Core.
Fixes #4777
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/IMbaCommand.cs')
| -rw-r--r-- | src/api/burn/WixToolset.Mba.Core/IMbaCommand.cs | 30 |
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 | |||
| 3 | namespace 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 | } | ||
