diff options
Diffstat (limited to 'src/ext/VisualStudio/wixext/VSExtensionData.cs')
-rw-r--r-- | src/ext/VisualStudio/wixext/VSExtensionData.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ext/VisualStudio/wixext/VSExtensionData.cs b/src/ext/VisualStudio/wixext/VSExtensionData.cs new file mode 100644 index 00000000..51199d2c --- /dev/null +++ b/src/ext/VisualStudio/wixext/VSExtensionData.cs | |||
@@ -0,0 +1,27 @@ | |||
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.VisualStudio | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.Extensibility; | ||
7 | |||
8 | public sealed class VSExtensionData : BaseExtensionData | ||
9 | { | ||
10 | /// <summary> | ||
11 | /// Gets the default culture. | ||
12 | /// </summary> | ||
13 | /// <value>The default culture.</value> | ||
14 | public override string DefaultCulture => "en-US"; | ||
15 | |||
16 | public override bool TryGetSymbolDefinitionByName(string name, out IntermediateSymbolDefinition symbolDefinition) | ||
17 | { | ||
18 | symbolDefinition = VSSymbolDefinitions.ByName(name); | ||
19 | return symbolDefinition != null; | ||
20 | } | ||
21 | |||
22 | public override Intermediate GetLibrary(ISymbolDefinitionCreator symbolDefinitions) | ||
23 | { | ||
24 | return Intermediate.Load(typeof(VSExtensionData).Assembly, "WixToolset.VisualStudio.vs.wixlib", symbolDefinitions); | ||
25 | } | ||
26 | } | ||
27 | } | ||