aboutsummaryrefslogtreecommitdiff
path: root/src/api/burn/WixToolset.BootstrapperApplicationApi/IOverridableVariables.cs
blob: 2cf7b8d9c4207f13c9fa7beaa3f6458d950615d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// 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.

namespace WixToolset.BootstrapperApplicationApi
{
    using System.Collections.Generic;

    /// <summary>
    /// The case sensitivity of variables from the command line.
    /// </summary>
    public enum VariableCommandLineType
    {
        /// <summary>
        /// All variable names specified on the command line must match the case specified when building the bundle.
        /// </summary>
        CaseSensitive,
        /// <summary>
        /// Variable names specified on the command line do not have to match the case specified when building the bundle.
        /// </summary>
        CaseInsensitive,
    }

    /// <summary>
    /// Overridable variable information from the BA manifest.
    /// </summary>
    public interface IOverridableVariables
    {
        /// <summary>
        /// The <see cref="VariableCommandLineType"/> of the bundle.
        /// </summary>
        VariableCommandLineType CommandLineType { get; }

        /// <summary>
        /// Variable Dictionary of variable name to <see cref="IOverridableVariableInfo"/>.
        /// </summary>
        IDictionary<string, IOverridableVariableInfo> Variables { get; }
    }
}