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