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