diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/BBControlTuple.cs | 130 |
1 files changed, 65 insertions, 65 deletions
diff --git a/src/WixToolset.Data/Tuples/BBControlTuple.cs b/src/WixToolset.Data/Tuples/BBControlTuple.cs index cef525bf..277d1d85 100644 --- a/src/WixToolset.Data/Tuples/BBControlTuple.cs +++ b/src/WixToolset.Data/Tuples/BBControlTuple.cs | |||
@@ -2,40 +2,40 @@ | |||
2 | 2 | ||
3 | namespace WixToolset.Data | 3 | namespace WixToolset.Data |
4 | { | 4 | { |
5 | using WixToolset.Data.Tuples; | 5 | using WixToolset.Data.Symbols; |
6 | 6 | ||
7 | public static partial class TupleDefinitions | 7 | public static partial class SymbolDefinitions |
8 | { | 8 | { |
9 | public static readonly IntermediateTupleDefinition BBControl = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition BBControl = new IntermediateSymbolDefinition( |
10 | TupleDefinitionType.BBControl, | 10 | SymbolDefinitionType.BBControl, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.BillboardRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.BillboardRef), IntermediateFieldType.String), |
14 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.BBControl), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.BBControl), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Type), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Type), IntermediateFieldType.String), |
16 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.X), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.X), IntermediateFieldType.Number), |
17 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Y), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Y), IntermediateFieldType.Number), |
18 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Width), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Width), IntermediateFieldType.Number), |
19 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Height), IntermediateFieldType.Number), | 19 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Height), IntermediateFieldType.Number), |
20 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Attributes), IntermediateFieldType.Number), | 20 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Attributes), IntermediateFieldType.Number), |
21 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Enabled), IntermediateFieldType.Bool), | 21 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Enabled), IntermediateFieldType.Bool), |
22 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Indirect), IntermediateFieldType.Bool), | 22 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Indirect), IntermediateFieldType.Bool), |
23 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Integer), IntermediateFieldType.Bool), | 23 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Integer), IntermediateFieldType.Bool), |
24 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.LeftScroll), IntermediateFieldType.Bool), | 24 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.LeftScroll), IntermediateFieldType.Bool), |
25 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.RightAligned), IntermediateFieldType.Bool), | 25 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.RightAligned), IntermediateFieldType.Bool), |
26 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.RightToLeft), IntermediateFieldType.Bool), | 26 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.RightToLeft), IntermediateFieldType.Bool), |
27 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Sunken), IntermediateFieldType.Bool), | 27 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Sunken), IntermediateFieldType.Bool), |
28 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Visible), IntermediateFieldType.Bool), | 28 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Visible), IntermediateFieldType.Bool), |
29 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Text), IntermediateFieldType.String), | 29 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Text), IntermediateFieldType.String), |
30 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.SourceFile), IntermediateFieldType.Path), | 30 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.SourceFile), IntermediateFieldType.Path), |
31 | }, | 31 | }, |
32 | typeof(BBControlTuple)); | 32 | typeof(BBControlSymbol)); |
33 | } | 33 | } |
34 | } | 34 | } |
35 | 35 | ||
36 | namespace WixToolset.Data.Tuples | 36 | namespace WixToolset.Data.Symbols |
37 | { | 37 | { |
38 | public enum BBControlTupleFields | 38 | public enum BBControlSymbolFields |
39 | { | 39 | { |
40 | BillboardRef, | 40 | BillboardRef, |
41 | BBControl, | 41 | BBControl, |
@@ -57,124 +57,124 @@ namespace WixToolset.Data.Tuples | |||
57 | SourceFile | 57 | SourceFile |
58 | } | 58 | } |
59 | 59 | ||
60 | public class BBControlTuple : IntermediateTuple | 60 | public class BBControlSymbol : IntermediateSymbol |
61 | { | 61 | { |
62 | public BBControlTuple() : base(TupleDefinitions.BBControl, null, null) | 62 | public BBControlSymbol() : base(SymbolDefinitions.BBControl, null, null) |
63 | { | 63 | { |
64 | } | 64 | } |
65 | 65 | ||
66 | public BBControlTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.BBControl, sourceLineNumber, id) | 66 | public BBControlSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.BBControl, sourceLineNumber, id) |
67 | { | 67 | { |
68 | } | 68 | } |
69 | 69 | ||
70 | public IntermediateField this[BBControlTupleFields index] => this.Fields[(int)index]; | 70 | public IntermediateField this[BBControlSymbolFields index] => this.Fields[(int)index]; |
71 | 71 | ||
72 | public string BillboardRef | 72 | public string BillboardRef |
73 | { | 73 | { |
74 | get => (string)this.Fields[(int)BBControlTupleFields.BillboardRef]; | 74 | get => (string)this.Fields[(int)BBControlSymbolFields.BillboardRef]; |
75 | set => this.Set((int)BBControlTupleFields.BillboardRef, value); | 75 | set => this.Set((int)BBControlSymbolFields.BillboardRef, value); |
76 | } | 76 | } |
77 | 77 | ||
78 | public string BBControl | 78 | public string BBControl |
79 | { | 79 | { |
80 | get => (string)this.Fields[(int)BBControlTupleFields.BBControl]; | 80 | get => (string)this.Fields[(int)BBControlSymbolFields.BBControl]; |
81 | set => this.Set((int)BBControlTupleFields.BBControl, value); | 81 | set => this.Set((int)BBControlSymbolFields.BBControl, value); |
82 | } | 82 | } |
83 | 83 | ||
84 | public string Type | 84 | public string Type |
85 | { | 85 | { |
86 | get => (string)this.Fields[(int)BBControlTupleFields.Type]; | 86 | get => (string)this.Fields[(int)BBControlSymbolFields.Type]; |
87 | set => this.Set((int)BBControlTupleFields.Type, value); | 87 | set => this.Set((int)BBControlSymbolFields.Type, value); |
88 | } | 88 | } |
89 | 89 | ||
90 | public int X | 90 | public int X |
91 | { | 91 | { |
92 | get => (int)this.Fields[(int)BBControlTupleFields.X]; | 92 | get => (int)this.Fields[(int)BBControlSymbolFields.X]; |
93 | set => this.Set((int)BBControlTupleFields.X, value); | 93 | set => this.Set((int)BBControlSymbolFields.X, value); |
94 | } | 94 | } |
95 | 95 | ||
96 | public int Y | 96 | public int Y |
97 | { | 97 | { |
98 | get => (int)this.Fields[(int)BBControlTupleFields.Y]; | 98 | get => (int)this.Fields[(int)BBControlSymbolFields.Y]; |
99 | set => this.Set((int)BBControlTupleFields.Y, value); | 99 | set => this.Set((int)BBControlSymbolFields.Y, value); |
100 | } | 100 | } |
101 | 101 | ||
102 | public int Width | 102 | public int Width |
103 | { | 103 | { |
104 | get => (int)this.Fields[(int)BBControlTupleFields.Width].AsNumber(); | 104 | get => (int)this.Fields[(int)BBControlSymbolFields.Width].AsNumber(); |
105 | set => this.Set((int)BBControlTupleFields.Width, value); | 105 | set => this.Set((int)BBControlSymbolFields.Width, value); |
106 | } | 106 | } |
107 | 107 | ||
108 | public int Height | 108 | public int Height |
109 | { | 109 | { |
110 | get => (int)this.Fields[(int)BBControlTupleFields.Height]; | 110 | get => (int)this.Fields[(int)BBControlSymbolFields.Height]; |
111 | set => this.Set((int)BBControlTupleFields.Height, value); | 111 | set => this.Set((int)BBControlSymbolFields.Height, value); |
112 | } | 112 | } |
113 | 113 | ||
114 | public int Attributes | 114 | public int Attributes |
115 | { | 115 | { |
116 | get => this.Fields[(int)BBControlTupleFields.Attributes].AsNumber(); | 116 | get => this.Fields[(int)BBControlSymbolFields.Attributes].AsNumber(); |
117 | set => this.Set((int)BBControlTupleFields.Attributes, value); | 117 | set => this.Set((int)BBControlSymbolFields.Attributes, value); |
118 | } | 118 | } |
119 | 119 | ||
120 | public bool Enabled | 120 | public bool Enabled |
121 | { | 121 | { |
122 | get => this.Fields[(int)BBControlTupleFields.Enabled].AsBool(); | 122 | get => this.Fields[(int)BBControlSymbolFields.Enabled].AsBool(); |
123 | set => this.Set((int)BBControlTupleFields.Enabled, value); | 123 | set => this.Set((int)BBControlSymbolFields.Enabled, value); |
124 | } | 124 | } |
125 | 125 | ||
126 | public bool Indirect | 126 | public bool Indirect |
127 | { | 127 | { |
128 | get => this.Fields[(int)BBControlTupleFields.Indirect].AsBool(); | 128 | get => this.Fields[(int)BBControlSymbolFields.Indirect].AsBool(); |
129 | set => this.Set((int)BBControlTupleFields.Indirect, value); | 129 | set => this.Set((int)BBControlSymbolFields.Indirect, value); |
130 | } | 130 | } |
131 | 131 | ||
132 | public bool Integer | 132 | public bool Integer |
133 | { | 133 | { |
134 | get => this.Fields[(int)BBControlTupleFields.Integer].AsBool(); | 134 | get => this.Fields[(int)BBControlSymbolFields.Integer].AsBool(); |
135 | set => this.Set((int)BBControlTupleFields.Integer, value); | 135 | set => this.Set((int)BBControlSymbolFields.Integer, value); |
136 | } | 136 | } |
137 | 137 | ||
138 | public bool LeftScroll | 138 | public bool LeftScroll |
139 | { | 139 | { |
140 | get => this.Fields[(int)BBControlTupleFields.LeftScroll].AsBool(); | 140 | get => this.Fields[(int)BBControlSymbolFields.LeftScroll].AsBool(); |
141 | set => this.Set((int)BBControlTupleFields.LeftScroll, value); | 141 | set => this.Set((int)BBControlSymbolFields.LeftScroll, value); |
142 | } | 142 | } |
143 | 143 | ||
144 | public bool RightAligned | 144 | public bool RightAligned |
145 | { | 145 | { |
146 | get => this.Fields[(int)BBControlTupleFields.RightAligned].AsBool(); | 146 | get => this.Fields[(int)BBControlSymbolFields.RightAligned].AsBool(); |
147 | set => this.Set((int)BBControlTupleFields.RightAligned, value); | 147 | set => this.Set((int)BBControlSymbolFields.RightAligned, value); |
148 | } | 148 | } |
149 | 149 | ||
150 | public bool RightToLeft | 150 | public bool RightToLeft |
151 | { | 151 | { |
152 | get => this.Fields[(int)BBControlTupleFields.RightToLeft].AsBool(); | 152 | get => this.Fields[(int)BBControlSymbolFields.RightToLeft].AsBool(); |
153 | set => this.Set((int)BBControlTupleFields.RightToLeft, value); | 153 | set => this.Set((int)BBControlSymbolFields.RightToLeft, value); |
154 | } | 154 | } |
155 | 155 | ||
156 | public bool Sunken | 156 | public bool Sunken |
157 | { | 157 | { |
158 | get => this.Fields[(int)BBControlTupleFields.Sunken].AsBool(); | 158 | get => this.Fields[(int)BBControlSymbolFields.Sunken].AsBool(); |
159 | set => this.Set((int)BBControlTupleFields.Sunken, value); | 159 | set => this.Set((int)BBControlSymbolFields.Sunken, value); |
160 | } | 160 | } |
161 | 161 | ||
162 | public bool Visible | 162 | public bool Visible |
163 | { | 163 | { |
164 | get => this.Fields[(int)BBControlTupleFields.Visible].AsBool(); | 164 | get => this.Fields[(int)BBControlSymbolFields.Visible].AsBool(); |
165 | set => this.Set((int)BBControlTupleFields.Visible, value); | 165 | set => this.Set((int)BBControlSymbolFields.Visible, value); |
166 | } | 166 | } |
167 | 167 | ||
168 | public string Text | 168 | public string Text |
169 | { | 169 | { |
170 | get => (string)this.Fields[(int)BBControlTupleFields.Text]; | 170 | get => (string)this.Fields[(int)BBControlSymbolFields.Text]; |
171 | set => this.Set((int)BBControlTupleFields.Text, value); | 171 | set => this.Set((int)BBControlSymbolFields.Text, value); |
172 | } | 172 | } |
173 | 173 | ||
174 | public IntermediateFieldPathValue SourceFile | 174 | public IntermediateFieldPathValue SourceFile |
175 | { | 175 | { |
176 | get => this.Fields[(int)BBControlTupleFields.SourceFile].AsPath(); | 176 | get => this.Fields[(int)BBControlSymbolFields.SourceFile].AsPath(); |
177 | set => this.Set((int)BBControlTupleFields.SourceFile, value); | 177 | set => this.Set((int)BBControlSymbolFields.SourceFile, value); |
178 | } | 178 | } |
179 | } | 179 | } |
180 | } \ No newline at end of file | 180 | } \ No newline at end of file |