blob: dd8b5bbf70f2345331073b358f2d5135355a3e3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// 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.
namespace Example.Extension
{
using WixToolset.Data;
using WixToolset.Data.Burn;
public static class ExampleTupleDefinitions
{
public const string ExampleName = "Example";
public static readonly IntermediateTupleDefinition Example = new IntermediateTupleDefinition(
ExampleName,
new[]
{
new IntermediateFieldDefinition(nameof(ExampleTupleFields.Value), IntermediateFieldType.String),
},
typeof(ExampleTuple));
public static readonly IntermediateTupleDefinition ExampleSearch = new IntermediateTupleDefinition(
nameof(ExampleSearch),
new[]
{
new IntermediateFieldDefinition(nameof(ExampleSearchTupleFields.SearchFor), IntermediateFieldType.String),
},
typeof(ExampleSearchTuple));
static ExampleTupleDefinitions()
{
ExampleSearch.AddTag(BurnConstants.BundleExtensionSearchTupleDefinitionTag);
}
}
}
|