aboutsummaryrefslogtreecommitdiff
path: root/src/test/TestData/Example.Extension/ExampleTableDefinitions.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-12-07 14:19:05 -0800
committerRob Mensching <rob@firegiant.com>2017-12-07 14:19:05 -0800
commit49f1209035aac1fcfad5dbbe25f7b2306d3be86c (patch)
tree6ce5921493eb751b6d89c3faf0ebdf64110cbb65 /src/test/TestData/Example.Extension/ExampleTableDefinitions.cs
parentb1e662bd480241ea914f0f3d6bd174d9ffd03f5f (diff)
downloadwix-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/ExampleTableDefinitions.cs')
-rw-r--r--src/test/TestData/Example.Extension/ExampleTableDefinitions.cs21
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
3namespace 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}