diff options
Diffstat (limited to 'src/WixToolset.Extensibility/IBindVariableResolver.cs')
| -rw-r--r-- | src/WixToolset.Extensibility/IBindVariableResolver.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/WixToolset.Extensibility/IBindVariableResolver.cs b/src/WixToolset.Extensibility/IBindVariableResolver.cs new file mode 100644 index 00000000..4c2c3003 --- /dev/null +++ b/src/WixToolset.Extensibility/IBindVariableResolver.cs | |||
| @@ -0,0 +1,26 @@ | |||
| 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.Extensibility | ||
| 4 | { | ||
| 5 | using WixToolset.Data; | ||
| 6 | using WixToolset.Data.Rows; | ||
| 7 | |||
| 8 | public interface IBindVariableResolver | ||
| 9 | { | ||
| 10 | int VariableCount { get; } | ||
| 11 | |||
| 12 | void AddVariable(string name, string value); | ||
| 13 | |||
| 14 | void AddVariable(WixVariableRow wixVariableRow); | ||
| 15 | |||
| 16 | string ResolveVariables(SourceLineNumber sourceLineNumbers, string value, bool localizationOnly); | ||
| 17 | |||
| 18 | string ResolveVariables(SourceLineNumber sourceLineNumbers, string value, bool localizationOnly, bool errorOnUnknown, out bool isDefault, out bool delayedResolve); | ||
| 19 | |||
| 20 | string ResolveVariables(SourceLineNumber sourceLineNumbers, string value, bool localizationOnly, out bool isDefault); | ||
| 21 | |||
| 22 | string ResolveVariables(SourceLineNumber sourceLineNumbers, string value, bool localizationOnly, out bool isDefault, out bool delayedResolve); | ||
| 23 | |||
| 24 | bool TryGetLocalizedControl(string dialog, string control, out LocalizedControl localizedControl); | ||
| 25 | } | ||
| 26 | } | ||
