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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
// 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 WixToolset.Data
{
using WixToolset.Data.Tuples;
public static partial class TupleDefinitions
{
public static readonly IntermediateTupleDefinition WixPackageFeatureInfo = new IntermediateTupleDefinition(
TupleDefinitionType.WixPackageFeatureInfo,
new[]
{
new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Package), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Feature), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Size), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Parent), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Title), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Description), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Display), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Level), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Directory), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Attributes), IntermediateFieldType.String),
},
typeof(WixPackageFeatureInfoTuple));
}
}
namespace WixToolset.Data.Tuples
{
public enum WixPackageFeatureInfoTupleFields
{
Package,
Feature,
Size,
Parent,
Title,
Description,
Display,
Level,
Directory,
Attributes,
}
public class WixPackageFeatureInfoTuple : IntermediateTuple
{
public WixPackageFeatureInfoTuple() : base(TupleDefinitions.WixPackageFeatureInfo, null, null)
{
}
public WixPackageFeatureInfoTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPackageFeatureInfo, sourceLineNumber, id)
{
}
public IntermediateField this[WixPackageFeatureInfoTupleFields index] => this.Fields[(int)index];
public string Package
{
get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Package]?.Value;
set => this.Set((int)WixPackageFeatureInfoTupleFields.Package, value);
}
public string Feature
{
get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Feature]?.Value;
set => this.Set((int)WixPackageFeatureInfoTupleFields.Feature, value);
}
public string Size
{
get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Size]?.Value;
set => this.Set((int)WixPackageFeatureInfoTupleFields.Size, value);
}
public string Parent
{
get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Parent]?.Value;
set => this.Set((int)WixPackageFeatureInfoTupleFields.Parent, value);
}
public string Title
{
get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Title]?.Value;
set => this.Set((int)WixPackageFeatureInfoTupleFields.Title, value);
}
public string Description
{
get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Description]?.Value;
set => this.Set((int)WixPackageFeatureInfoTupleFields.Description, value);
}
public string Display
{
get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Display]?.Value;
set => this.Set((int)WixPackageFeatureInfoTupleFields.Display, value);
}
public string Level
{
get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Level]?.Value;
set => this.Set((int)WixPackageFeatureInfoTupleFields.Level, value);
}
public string Directory
{
get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Directory]?.Value;
set => this.Set((int)WixPackageFeatureInfoTupleFields.Directory, value);
}
public string Attributes
{
get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Attributes]?.Value;
set => this.Set((int)WixPackageFeatureInfoTupleFields.Attributes, value);
}
}
}
|