| 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.BootstrapperApplicationApi |
| 4 | { |
| 5 | using System.Collections.Generic; |
| 6 | |
| 7 | /// <summary> |
| 8 | /// The case sensitivity of variables from the command line. |
| 9 | /// </summary> |
| 10 | public enum VariableCommandLineType |
| 11 | { |
| 12 | /// <summary> |
| 13 | /// All variable names specified on the command line must match the case specified when building the bundle. |
| 14 | /// </summary> |
| 15 | CaseSensitive, |
| 16 | /// <summary> |
| 17 | /// Variable names specified on the command line do not have to match the case specified when building the bundle. |
| 18 | /// </summary> |
| 19 | CaseInsensitive, |
| 20 | } |
| 21 | |
| 22 | /// <summary> |
| 23 | /// Overridable variable information from the BA manifest. |
| 24 | /// </summary> |
| 25 | public interface IOverridableVariables |
| 26 | { |
| 27 | /// <summary> |
| 28 | /// The <see cref="VariableCommandLineType"/> of the bundle. |
| 29 | /// </summary> |
| 30 | VariableCommandLineType CommandLineType { get; } |
| 31 | |
| 32 | /// <summary> |
| 33 | /// Variable Dictionary of variable name to <see cref="IOverridableVariableInfo"/>. |
| 34 | /// </summary> |
| 35 | IDictionary<string, IOverridableVariableInfo> Variables { get; } |
| 36 | } |
| 37 | } |