aboutsummaryrefslogtreecommitdiff
path: root/src/test/Example.Extension/ExampleTupleDefinitions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/Example.Extension/ExampleTupleDefinitions.cs')
-rw-r--r--src/test/Example.Extension/ExampleTupleDefinitions.cs17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/test/Example.Extension/ExampleTupleDefinitions.cs b/src/test/Example.Extension/ExampleTupleDefinitions.cs
index 4775b827..b2c8c484 100644
--- a/src/test/Example.Extension/ExampleTupleDefinitions.cs
+++ b/src/test/Example.Extension/ExampleTupleDefinitions.cs
@@ -1,8 +1,9 @@
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. 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 2
3namespace Example.Extension 3namespace Example.Extension
4{ 4{
5 using WixToolset.Data; 5 using WixToolset.Data;
6 using WixToolset.Data.Burn;
6 7
7 public static class ExampleTupleDefinitions 8 public static class ExampleTupleDefinitions
8 { 9 {
@@ -16,5 +17,19 @@ namespace Example.Extension
16 new IntermediateFieldDefinition(nameof(ExampleTupleFields.Value), IntermediateFieldType.String), 17 new IntermediateFieldDefinition(nameof(ExampleTupleFields.Value), IntermediateFieldType.String),
17 }, 18 },
18 typeof(ExampleTuple)); 19 typeof(ExampleTuple));
20
21 public static readonly IntermediateTupleDefinition ExampleSearch = new IntermediateTupleDefinition(
22 nameof(ExampleSearch),
23 new[]
24 {
25 new IntermediateFieldDefinition(nameof(ExampleTupleFields.Example), IntermediateFieldType.String),
26 new IntermediateFieldDefinition(nameof(ExampleSearchTupleFields.SearchFor), IntermediateFieldType.String),
27 },
28 typeof(ExampleSearchTuple));
29
30 static ExampleTupleDefinitions()
31 {
32 ExampleSearch.AddTag(BurnConstants.BundleExtensionSearchTupleDefinitionTag);
33 }
19 } 34 }
20} 35}