diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/RadioButtonTuple.cs | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/src/WixToolset.Data/Tuples/RadioButtonTuple.cs b/src/WixToolset.Data/Tuples/RadioButtonTuple.cs index 2fea402a..6a26e937 100644 --- a/src/WixToolset.Data/Tuples/RadioButtonTuple.cs +++ b/src/WixToolset.Data/Tuples/RadioButtonTuple.cs | |||
@@ -2,31 +2,31 @@ | |||
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 RadioButton = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition RadioButton = new IntermediateSymbolDefinition( |
10 | TupleDefinitionType.RadioButton, | 10 | SymbolDefinitionType.RadioButton, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Property), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Property), IntermediateFieldType.String), |
14 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Order), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Order), IntermediateFieldType.Number), |
15 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Value), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Value), IntermediateFieldType.String), |
16 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.X), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.X), IntermediateFieldType.Number), |
17 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Y), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Y), IntermediateFieldType.Number), |
18 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Width), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Width), IntermediateFieldType.Number), |
19 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Height), IntermediateFieldType.Number), | 19 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Height), IntermediateFieldType.Number), |
20 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Text), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Text), IntermediateFieldType.String), |
21 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Help), IntermediateFieldType.String), | 21 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Help), IntermediateFieldType.String), |
22 | }, | 22 | }, |
23 | typeof(RadioButtonTuple)); | 23 | typeof(RadioButtonSymbol)); |
24 | } | 24 | } |
25 | } | 25 | } |
26 | 26 | ||
27 | namespace WixToolset.Data.Tuples | 27 | namespace WixToolset.Data.Symbols |
28 | { | 28 | { |
29 | public enum RadioButtonTupleFields | 29 | public enum RadioButtonSymbolFields |
30 | { | 30 | { |
31 | Property, | 31 | Property, |
32 | Order, | 32 | Order, |
@@ -39,70 +39,70 @@ namespace WixToolset.Data.Tuples | |||
39 | Help, | 39 | Help, |
40 | } | 40 | } |
41 | 41 | ||
42 | public class RadioButtonTuple : IntermediateTuple | 42 | public class RadioButtonSymbol : IntermediateSymbol |
43 | { | 43 | { |
44 | public RadioButtonTuple() : base(TupleDefinitions.RadioButton, null, null) | 44 | public RadioButtonSymbol() : base(SymbolDefinitions.RadioButton, null, null) |
45 | { | 45 | { |
46 | } | 46 | } |
47 | 47 | ||
48 | public RadioButtonTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.RadioButton, sourceLineNumber, id) | 48 | public RadioButtonSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.RadioButton, sourceLineNumber, id) |
49 | { | 49 | { |
50 | } | 50 | } |
51 | 51 | ||
52 | public IntermediateField this[RadioButtonTupleFields index] => this.Fields[(int)index]; | 52 | public IntermediateField this[RadioButtonSymbolFields index] => this.Fields[(int)index]; |
53 | 53 | ||
54 | public string Property | 54 | public string Property |
55 | { | 55 | { |
56 | get => (string)this.Fields[(int)RadioButtonTupleFields.Property]; | 56 | get => (string)this.Fields[(int)RadioButtonSymbolFields.Property]; |
57 | set => this.Set((int)RadioButtonTupleFields.Property, value); | 57 | set => this.Set((int)RadioButtonSymbolFields.Property, value); |
58 | } | 58 | } |
59 | 59 | ||
60 | public int Order | 60 | public int Order |
61 | { | 61 | { |
62 | get => (int)this.Fields[(int)RadioButtonTupleFields.Order]; | 62 | get => (int)this.Fields[(int)RadioButtonSymbolFields.Order]; |
63 | set => this.Set((int)RadioButtonTupleFields.Order, value); | 63 | set => this.Set((int)RadioButtonSymbolFields.Order, value); |
64 | } | 64 | } |
65 | 65 | ||
66 | public string Value | 66 | public string Value |
67 | { | 67 | { |
68 | get => (string)this.Fields[(int)RadioButtonTupleFields.Value]; | 68 | get => (string)this.Fields[(int)RadioButtonSymbolFields.Value]; |
69 | set => this.Set((int)RadioButtonTupleFields.Value, value); | 69 | set => this.Set((int)RadioButtonSymbolFields.Value, value); |
70 | } | 70 | } |
71 | 71 | ||
72 | public int X | 72 | public int X |
73 | { | 73 | { |
74 | get => (int)this.Fields[(int)RadioButtonTupleFields.X]; | 74 | get => (int)this.Fields[(int)RadioButtonSymbolFields.X]; |
75 | set => this.Set((int)RadioButtonTupleFields.X, value); | 75 | set => this.Set((int)RadioButtonSymbolFields.X, value); |
76 | } | 76 | } |
77 | 77 | ||
78 | public int Y | 78 | public int Y |
79 | { | 79 | { |
80 | get => (int)this.Fields[(int)RadioButtonTupleFields.Y]; | 80 | get => (int)this.Fields[(int)RadioButtonSymbolFields.Y]; |
81 | set => this.Set((int)RadioButtonTupleFields.Y, value); | 81 | set => this.Set((int)RadioButtonSymbolFields.Y, value); |
82 | } | 82 | } |
83 | 83 | ||
84 | public int Width | 84 | public int Width |
85 | { | 85 | { |
86 | get => (int)this.Fields[(int)RadioButtonTupleFields.Width]; | 86 | get => (int)this.Fields[(int)RadioButtonSymbolFields.Width]; |
87 | set => this.Set((int)RadioButtonTupleFields.Width, value); | 87 | set => this.Set((int)RadioButtonSymbolFields.Width, value); |
88 | } | 88 | } |
89 | 89 | ||
90 | public int Height | 90 | public int Height |
91 | { | 91 | { |
92 | get => (int)this.Fields[(int)RadioButtonTupleFields.Height]; | 92 | get => (int)this.Fields[(int)RadioButtonSymbolFields.Height]; |
93 | set => this.Set((int)RadioButtonTupleFields.Height, value); | 93 | set => this.Set((int)RadioButtonSymbolFields.Height, value); |
94 | } | 94 | } |
95 | 95 | ||
96 | public string Text | 96 | public string Text |
97 | { | 97 | { |
98 | get => (string)this.Fields[(int)RadioButtonTupleFields.Text]; | 98 | get => (string)this.Fields[(int)RadioButtonSymbolFields.Text]; |
99 | set => this.Set((int)RadioButtonTupleFields.Text, value); | 99 | set => this.Set((int)RadioButtonSymbolFields.Text, value); |
100 | } | 100 | } |
101 | 101 | ||
102 | public string Help | 102 | public string Help |
103 | { | 103 | { |
104 | get => (string)this.Fields[(int)RadioButtonTupleFields.Help]; | 104 | get => (string)this.Fields[(int)RadioButtonSymbolFields.Help]; |
105 | set => this.Set((int)RadioButtonTupleFields.Help, value); | 105 | set => this.Set((int)RadioButtonSymbolFields.Help, value); |
106 | } | 106 | } |
107 | } | 107 | } |
108 | } \ No newline at end of file | 108 | } \ No newline at end of file |