diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-04-22 17:19:56 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-04-29 19:53:52 -0700 |
| commit | 8cf0427984a88b0b3ddfb2061e5be721afffe82e (patch) | |
| tree | 22e2aaf7665d5ab6d3dc2a8ce8f05d73080d1f20 /src/test/Example.Extension/ExampleExtensionData.cs | |
| parent | 8426095723fb8530a321260473ab543151bf8c98 (diff) | |
| download | wix-8cf0427984a88b0b3ddfb2061e5be721afffe82e.tar.gz wix-8cf0427984a88b0b3ddfb2061e5be721afffe82e.tar.bz2 wix-8cf0427984a88b0b3ddfb2061e5be721afffe82e.zip | |
Move Core into wix
Diffstat (limited to 'src/test/Example.Extension/ExampleExtensionData.cs')
| -rw-r--r-- | src/test/Example.Extension/ExampleExtensionData.cs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/test/Example.Extension/ExampleExtensionData.cs b/src/test/Example.Extension/ExampleExtensionData.cs deleted file mode 100644 index 91d60eb9..00000000 --- a/src/test/Example.Extension/ExampleExtensionData.cs +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 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 Example.Extension | ||
| 4 | { | ||
| 5 | using WixToolset.Data; | ||
| 6 | using WixToolset.Extensibility; | ||
| 7 | |||
| 8 | internal class ExampleExtensionData : IExtensionData | ||
| 9 | { | ||
| 10 | public string DefaultCulture => null; | ||
| 11 | |||
| 12 | public Intermediate GetLibrary(ISymbolDefinitionCreator symbolDefinitions) | ||
| 13 | { | ||
| 14 | return Intermediate.Load(typeof(ExampleExtensionData).Assembly, "Example.Extension.Example.wixlib", symbolDefinitions); | ||
| 15 | } | ||
| 16 | |||
| 17 | public bool TryGetSymbolDefinitionByName(string name, out IntermediateSymbolDefinition symbolDefinition) | ||
| 18 | { | ||
| 19 | symbolDefinition = ExampleSymbolDefinitions.ByName(name); | ||
| 20 | return symbolDefinition != null; | ||
| 21 | } | ||
| 22 | } | ||
| 23 | } \ No newline at end of file | ||
