aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/Services/IVariableResolution.cs
blob: adcec47f803e1cc4e9a30b3359f0b7c0c83819b9 (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
// 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.Extensibility.Services
{
    /// <summary>
    /// Result when resolving a variable.
    /// </summary>
    public interface IVariableResolution
    {
        /// <summary>
        /// Indicates if the value contains variables that cannot be resolved yet.
        /// </summary>
        bool DelayedResolve { get; set; }

        /// <summary>
        /// Indicates whether a bind variables default value was used in the resolution.
        /// </summary>
        bool IsDefault { get; set; }

        /// <summary>
        /// Indicates whether the resolution updated the value.
        /// </summary>
        bool UpdatedValue { get; set; }

        /// <summary>
        /// The resolved value.
        /// </summary>
        string Value { get; set; }
    }
}