diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/WixActionTuple.cs | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/src/WixToolset.Data/Tuples/WixActionTuple.cs b/src/WixToolset.Data/Tuples/WixActionTuple.cs index 28a10698..a055d68f 100644 --- a/src/WixToolset.Data/Tuples/WixActionTuple.cs +++ b/src/WixToolset.Data/Tuples/WixActionTuple.cs | |||
@@ -2,29 +2,29 @@ | |||
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 WixAction = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixAction = new IntermediateSymbolDefinition( |
10 | TupleDefinitionType.WixAction, | 10 | SymbolDefinitionType.WixAction, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.SequenceTable), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.SequenceTable), IntermediateFieldType.Number), |
14 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Action), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.Action), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Condition), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.Condition), IntermediateFieldType.String), |
16 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Sequence), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.Sequence), IntermediateFieldType.Number), |
17 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Before), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.Before), IntermediateFieldType.String), |
18 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.After), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.After), IntermediateFieldType.String), |
19 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Overridable), IntermediateFieldType.Bool), | 19 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.Overridable), IntermediateFieldType.Bool), |
20 | }, | 20 | }, |
21 | typeof(WixActionTuple)); | 21 | typeof(WixActionSymbol)); |
22 | } | 22 | } |
23 | } | 23 | } |
24 | 24 | ||
25 | namespace WixToolset.Data.Tuples | 25 | namespace WixToolset.Data.Symbols |
26 | { | 26 | { |
27 | public enum WixActionTupleFields | 27 | public enum WixActionSymbolFields |
28 | { | 28 | { |
29 | SequenceTable, | 29 | SequenceTable, |
30 | Action, | 30 | Action, |
@@ -44,58 +44,58 @@ namespace WixToolset.Data.Tuples | |||
44 | InstallExecuteSequence | 44 | InstallExecuteSequence |
45 | } | 45 | } |
46 | 46 | ||
47 | public class WixActionTuple : IntermediateTuple | 47 | public class WixActionSymbol : IntermediateSymbol |
48 | { | 48 | { |
49 | public WixActionTuple() : base(TupleDefinitions.WixAction, null, null) | 49 | public WixActionSymbol() : base(SymbolDefinitions.WixAction, null, null) |
50 | { | 50 | { |
51 | } | 51 | } |
52 | 52 | ||
53 | public WixActionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixAction, sourceLineNumber, id) | 53 | public WixActionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixAction, sourceLineNumber, id) |
54 | { | 54 | { |
55 | } | 55 | } |
56 | 56 | ||
57 | public IntermediateField this[WixActionTupleFields index] => this.Fields[(int)index]; | 57 | public IntermediateField this[WixActionSymbolFields index] => this.Fields[(int)index]; |
58 | 58 | ||
59 | public SequenceTable SequenceTable | 59 | public SequenceTable SequenceTable |
60 | { | 60 | { |
61 | get => (SequenceTable)this.Fields[(int)WixActionTupleFields.SequenceTable].AsNumber(); | 61 | get => (SequenceTable)this.Fields[(int)WixActionSymbolFields.SequenceTable].AsNumber(); |
62 | set => this.Set((int)WixActionTupleFields.SequenceTable, (int)value); | 62 | set => this.Set((int)WixActionSymbolFields.SequenceTable, (int)value); |
63 | } | 63 | } |
64 | 64 | ||
65 | public string Action | 65 | public string Action |
66 | { | 66 | { |
67 | get => (string)this.Fields[(int)WixActionTupleFields.Action]; | 67 | get => (string)this.Fields[(int)WixActionSymbolFields.Action]; |
68 | set => this.Set((int)WixActionTupleFields.Action, value); | 68 | set => this.Set((int)WixActionSymbolFields.Action, value); |
69 | } | 69 | } |
70 | 70 | ||
71 | public string Condition | 71 | public string Condition |
72 | { | 72 | { |
73 | get => (string)this.Fields[(int)WixActionTupleFields.Condition]; | 73 | get => (string)this.Fields[(int)WixActionSymbolFields.Condition]; |
74 | set => this.Set((int)WixActionTupleFields.Condition, value); | 74 | set => this.Set((int)WixActionSymbolFields.Condition, value); |
75 | } | 75 | } |
76 | 76 | ||
77 | public int? Sequence | 77 | public int? Sequence |
78 | { | 78 | { |
79 | get => (int?)this.Fields[(int)WixActionTupleFields.Sequence]; | 79 | get => (int?)this.Fields[(int)WixActionSymbolFields.Sequence]; |
80 | set => this.Set((int)WixActionTupleFields.Sequence, value); | 80 | set => this.Set((int)WixActionSymbolFields.Sequence, value); |
81 | } | 81 | } |
82 | 82 | ||
83 | public string Before | 83 | public string Before |
84 | { | 84 | { |
85 | get => (string)this.Fields[(int)WixActionTupleFields.Before]; | 85 | get => (string)this.Fields[(int)WixActionSymbolFields.Before]; |
86 | set => this.Set((int)WixActionTupleFields.Before, value); | 86 | set => this.Set((int)WixActionSymbolFields.Before, value); |
87 | } | 87 | } |
88 | 88 | ||
89 | public string After | 89 | public string After |
90 | { | 90 | { |
91 | get => (string)this.Fields[(int)WixActionTupleFields.After]; | 91 | get => (string)this.Fields[(int)WixActionSymbolFields.After]; |
92 | set => this.Set((int)WixActionTupleFields.After, value); | 92 | set => this.Set((int)WixActionSymbolFields.After, value); |
93 | } | 93 | } |
94 | 94 | ||
95 | public bool Overridable | 95 | public bool Overridable |
96 | { | 96 | { |
97 | get => this.Fields[(int)WixActionTupleFields.Overridable].AsBool(); | 97 | get => this.Fields[(int)WixActionSymbolFields.Overridable].AsBool(); |
98 | set => this.Set((int)WixActionTupleFields.Overridable, value); | 98 | set => this.Set((int)WixActionSymbolFields.Overridable, value); |
99 | } | 99 | } |
100 | } | 100 | } |
101 | } | 101 | } |