diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-07-01 09:30:10 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-07-02 12:50:09 -0500 |
commit | 9bdf3730cd43e1af8a4ea9be6cf2fba77fcff2d2 (patch) | |
tree | ea2a05de5a8a1dfcb2af8e9e3805fe015729f66a /src/api/burn/WixToolset.Mba.Core/IOverridableVariables.cs | |
parent | 8cbfc326cccf8d9b3b63cb6f752fc770f7dee0fc (diff) | |
download | wix-9bdf3730cd43e1af8a4ea9be6cf2fba77fcff2d2.tar.gz wix-9bdf3730cd43e1af8a4ea9be6cf2fba77fcff2d2.tar.bz2 wix-9bdf3730cd43e1af8a4ea9be6cf2fba77fcff2d2.zip |
Add bundle option for command line variables to always be uppercase.
Fixes #3777
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/IOverridableVariables.cs')
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/IOverridableVariables.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/IOverridableVariables.cs b/src/api/burn/WixToolset.Mba.Core/IOverridableVariables.cs index 3944913b..1ffe50e4 100644 --- a/src/api/burn/WixToolset.Mba.Core/IOverridableVariables.cs +++ b/src/api/burn/WixToolset.Mba.Core/IOverridableVariables.cs | |||
@@ -5,11 +5,31 @@ namespace WixToolset.Mba.Core | |||
5 | using System.Collections.Generic; | 5 | using System.Collections.Generic; |
6 | 6 | ||
7 | /// <summary> | 7 | /// <summary> |
8 | /// The case sensitivity of variables from the command line. | ||
9 | /// </summary> | ||
10 | public enum VariableCommandLineType | ||
11 | { | ||
12 | /// <summary> | ||
13 | /// Similar to Windows Installer, all variable names specified on the command line are automatically converted to upper case. | ||
14 | /// </summary> | ||
15 | UpperCase, | ||
16 | /// <summary> | ||
17 | /// All variable names specified on the command line must match the case specified when building the bundle. | ||
18 | /// </summary> | ||
19 | CaseSensitive, | ||
20 | } | ||
21 | |||
22 | /// <summary> | ||
8 | /// Overridable variable information from the BA manifest. | 23 | /// Overridable variable information from the BA manifest. |
9 | /// </summary> | 24 | /// </summary> |
10 | public interface IOverridableVariables | 25 | public interface IOverridableVariables |
11 | { | 26 | { |
12 | /// <summary> | 27 | /// <summary> |
28 | /// The <see cref="VariableCommandLineType"/> of the bundle. | ||
29 | /// </summary> | ||
30 | VariableCommandLineType CommandLineType { get; } | ||
31 | |||
32 | /// <summary> | ||
13 | /// Variable Dictionary of variable name to <see cref="IOverridableVariableInfo"/>. | 33 | /// Variable Dictionary of variable name to <see cref="IOverridableVariableInfo"/>. |
14 | /// </summary> | 34 | /// </summary> |
15 | IDictionary<string, IOverridableVariableInfo> Variables { get; } | 35 | IDictionary<string, IOverridableVariableInfo> Variables { get; } |