main
cs 24 lines 919 Bytes
Raw
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.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 public override Intermediate GetLibrary(ISymbolDefinitionCreator symbolDefinitions)
14 {
15 return Intermediate.Load(typeof(PSExtensionData).Assembly, "WixToolset.PowerShell.powershell.wixlib", symbolDefinitions);
16 }
17
18 public override bool TryGetSymbolDefinitionByName(string name, out IntermediateSymbolDefinition symbolDefinition)
19 {
20 symbolDefinition = null;
21 return symbolDefinition != null;
22 }
23 }
24 }