aboutsummaryrefslogtreecommitdiff
path: root/src/test/TestData/Example.Extension/ExampleTupleDefinitions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/TestData/Example.Extension/ExampleTupleDefinitions.cs')
-rw-r--r--src/test/TestData/Example.Extension/ExampleTupleDefinitions.cs20
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
3namespace 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}