diff options
Diffstat (limited to 'src/test/Example.Extension/ExampleTableDefinitions.cs')
| -rw-r--r-- | src/test/Example.Extension/ExampleTableDefinitions.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/Example.Extension/ExampleTableDefinitions.cs b/src/test/Example.Extension/ExampleTableDefinitions.cs new file mode 100644 index 00000000..dbd6491b --- /dev/null +++ b/src/test/Example.Extension/ExampleTableDefinitions.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.WindowsInstaller; | ||
| 6 | |||
| 7 | public static class ExampleTableDefinitions | ||
| 8 | { | ||
| 9 | public static readonly TableDefinition ExampleTable = new TableDefinition( | ||
| 10 | "Example", | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new ColumnDefinition("Example", ColumnType.String, 72, true, false, ColumnCategory.Identifier), | ||
| 14 | new ColumnDefinition("Value", ColumnType.String, 0, false, false, ColumnCategory.Formatted), | ||
| 15 | } | ||
| 16 | ); | ||
| 17 | |||
| 18 | public static readonly TableDefinition[] All = new[] { ExampleTable }; | ||
| 19 | } | ||
| 20 | } | ||
