diff options
Diffstat (limited to 'src/wixext/Tuples/WixBalConditionTuple.cs')
-rw-r--r-- | src/wixext/Tuples/WixBalConditionTuple.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/wixext/Tuples/WixBalConditionTuple.cs b/src/wixext/Tuples/WixBalConditionTuple.cs index 4c0ddd1d..c2527fbc 100644 --- a/src/wixext/Tuples/WixBalConditionTuple.cs +++ b/src/wixext/Tuples/WixBalConditionTuple.cs | |||
@@ -3,53 +3,53 @@ | |||
3 | namespace WixToolset.Bal | 3 | namespace WixToolset.Bal |
4 | { | 4 | { |
5 | using WixToolset.Data; | 5 | using WixToolset.Data; |
6 | using WixToolset.Bal.Tuples; | 6 | using WixToolset.Bal.Symbols; |
7 | 7 | ||
8 | public static partial class BalTupleDefinitions | 8 | public static partial class BalSymbolDefinitions |
9 | { | 9 | { |
10 | public static readonly IntermediateTupleDefinition WixBalCondition = new IntermediateTupleDefinition( | 10 | public static readonly IntermediateSymbolDefinition WixBalCondition = new IntermediateSymbolDefinition( |
11 | BalTupleDefinitionType.WixBalCondition.ToString(), | 11 | BalSymbolDefinitionType.WixBalCondition.ToString(), |
12 | new[] | 12 | new[] |
13 | { | 13 | { |
14 | new IntermediateFieldDefinition(nameof(WixBalConditionTupleFields.Condition), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBalConditionSymbolFields.Condition), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(WixBalConditionTupleFields.Message), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBalConditionSymbolFields.Message), IntermediateFieldType.String), |
16 | }, | 16 | }, |
17 | typeof(WixBalConditionTuple)); | 17 | typeof(WixBalConditionSymbol)); |
18 | } | 18 | } |
19 | } | 19 | } |
20 | 20 | ||
21 | namespace WixToolset.Bal.Tuples | 21 | namespace WixToolset.Bal.Symbols |
22 | { | 22 | { |
23 | using WixToolset.Data; | 23 | using WixToolset.Data; |
24 | 24 | ||
25 | public enum WixBalConditionTupleFields | 25 | public enum WixBalConditionSymbolFields |
26 | { | 26 | { |
27 | Condition, | 27 | Condition, |
28 | Message, | 28 | Message, |
29 | } | 29 | } |
30 | 30 | ||
31 | public class WixBalConditionTuple : IntermediateTuple | 31 | public class WixBalConditionSymbol : IntermediateSymbol |
32 | { | 32 | { |
33 | public WixBalConditionTuple() : base(BalTupleDefinitions.WixBalCondition, null, null) | 33 | public WixBalConditionSymbol() : base(BalSymbolDefinitions.WixBalCondition, null, null) |
34 | { | 34 | { |
35 | } | 35 | } |
36 | 36 | ||
37 | public WixBalConditionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(BalTupleDefinitions.WixBalCondition, sourceLineNumber, id) | 37 | public WixBalConditionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(BalSymbolDefinitions.WixBalCondition, sourceLineNumber, id) |
38 | { | 38 | { |
39 | } | 39 | } |
40 | 40 | ||
41 | public IntermediateField this[WixBalConditionTupleFields index] => this.Fields[(int)index]; | 41 | public IntermediateField this[WixBalConditionSymbolFields index] => this.Fields[(int)index]; |
42 | 42 | ||
43 | public string Condition | 43 | public string Condition |
44 | { | 44 | { |
45 | get => this.Fields[(int)WixBalConditionTupleFields.Condition].AsString(); | 45 | get => this.Fields[(int)WixBalConditionSymbolFields.Condition].AsString(); |
46 | set => this.Set((int)WixBalConditionTupleFields.Condition, value); | 46 | set => this.Set((int)WixBalConditionSymbolFields.Condition, value); |
47 | } | 47 | } |
48 | 48 | ||
49 | public string Message | 49 | public string Message |
50 | { | 50 | { |
51 | get => this.Fields[(int)WixBalConditionTupleFields.Message].AsString(); | 51 | get => this.Fields[(int)WixBalConditionSymbolFields.Message].AsString(); |
52 | set => this.Set((int)WixBalConditionTupleFields.Message, value); | 52 | set => this.Set((int)WixBalConditionSymbolFields.Message, value); |
53 | } | 53 | } |
54 | } | 54 | } |
55 | } \ No newline at end of file | 55 | } \ No newline at end of file |