diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-12-07 14:19:05 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-12-07 14:19:05 -0800 |
| commit | 49f1209035aac1fcfad5dbbe25f7b2306d3be86c (patch) | |
| tree | 6ce5921493eb751b6d89c3faf0ebdf64110cbb65 /src/test/TestData/Example.Extension/ExampleTupleDefinitions.cs | |
| parent | b1e662bd480241ea914f0f3d6bd174d9ffd03f5f (diff) | |
| download | wix-49f1209035aac1fcfad5dbbe25f7b2306d3be86c.tar.gz wix-49f1209035aac1fcfad5dbbe25f7b2306d3be86c.tar.bz2 wix-49f1209035aac1fcfad5dbbe25f7b2306d3be86c.zip | |
Support MSI backends creating custom tables and remove WixToolset.Data.WindowsInstaller
Diffstat (limited to 'src/test/TestData/Example.Extension/ExampleTupleDefinitions.cs')
| -rw-r--r-- | src/test/TestData/Example.Extension/ExampleTupleDefinitions.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/TestData/Example.Extension/ExampleTupleDefinitions.cs b/src/test/TestData/Example.Extension/ExampleTupleDefinitions.cs new file mode 100644 index 00000000..4775b827 --- /dev/null +++ b/src/test/TestData/Example.Extension/ExampleTupleDefinitions.cs | |||
| @@ -0,0 +1,20 @@ | |||
| 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 | |||
| 7 | public static class ExampleTupleDefinitions | ||
| 8 | { | ||
| 9 | public const string ExampleName = "Example"; | ||
| 10 | |||
| 11 | public static readonly IntermediateTupleDefinition Example = new IntermediateTupleDefinition( | ||
| 12 | ExampleName, | ||
| 13 | new[] | ||
| 14 | { | ||
| 15 | new IntermediateFieldDefinition(nameof(ExampleTupleFields.Example), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ExampleTupleFields.Value), IntermediateFieldType.String), | ||
| 17 | }, | ||
| 18 | typeof(ExampleTuple)); | ||
| 19 | } | ||
| 20 | } | ||
