diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-10-18 15:21:45 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-10-18 15:21:45 -0700 |
| commit | 7efd412cda00b369bc331c9bedd8db971d98fee7 (patch) | |
| tree | 20403b9a5372db2407200cefab1eed0bdcc19879 /src/WixToolset.Extensibility/IBindVariableResolver.cs | |
| parent | 475dd063933b8a23d8e47021e9b105a20699bbac (diff) | |
| download | wix-7efd412cda00b369bc331c9bedd8db971d98fee7.tar.gz wix-7efd412cda00b369bc331c9bedd8db971d98fee7.tar.bz2 wix-7efd412cda00b369bc331c9bedd8db971d98fee7.zip | |
Incorporate refactoring of WixToolset.Core assemblies
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 | } | ||
