diff options
| author | Rob Mensching <rob@firegiant.com> | 2020-06-24 14:05:08 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2020-06-25 12:48:19 -0700 |
| commit | 9787570331b511bab73ac8f4f38a3b8cfa053ca5 (patch) | |
| tree | 508155e2cf4f6bafeef2be1059da547291025352 /src/WixToolset.Data/Tuples/ControlConditionTuple.cs | |
| parent | 2bcc21d5c2d27e578f59f905f6acd0979b78aa9d (diff) | |
| download | wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.tar.gz wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.tar.bz2 wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.zip | |
The Great Tuple to Symbol Rename (tm)
Diffstat (limited to 'src/WixToolset.Data/Tuples/ControlConditionTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/ControlConditionTuple.cs | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/WixToolset.Data/Tuples/ControlConditionTuple.cs b/src/WixToolset.Data/Tuples/ControlConditionTuple.cs index 2e5dbf77..cc5f2d74 100644 --- a/src/WixToolset.Data/Tuples/ControlConditionTuple.cs +++ b/src/WixToolset.Data/Tuples/ControlConditionTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 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 ControlCondition = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ControlCondition = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ControlCondition, | 10 | SymbolDefinitionType.ControlCondition, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ControlConditionTupleFields.DialogRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ControlConditionSymbolFields.DialogRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ControlConditionTupleFields.ControlRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ControlConditionSymbolFields.ControlRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ControlConditionTupleFields.Action), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ControlConditionSymbolFields.Action), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ControlConditionTupleFields.Condition), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ControlConditionSymbolFields.Condition), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(ControlConditionTuple)); | 18 | typeof(ControlConditionSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum ControlConditionTupleFields | 24 | public enum ControlConditionSymbolFields |
| 25 | { | 25 | { |
| 26 | DialogRef, | 26 | DialogRef, |
| 27 | ControlRef, | 27 | ControlRef, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Condition, | 29 | Condition, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class ControlConditionTuple : IntermediateTuple | 32 | public class ControlConditionSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public ControlConditionTuple() : base(TupleDefinitions.ControlCondition, null, null) | 34 | public ControlConditionSymbol() : base(SymbolDefinitions.ControlCondition, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public ControlConditionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ControlCondition, sourceLineNumber, id) | 38 | public ControlConditionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ControlCondition, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[ControlConditionTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[ControlConditionSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string DialogRef | 44 | public string DialogRef |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)ControlConditionTupleFields.DialogRef]; | 46 | get => (string)this.Fields[(int)ControlConditionSymbolFields.DialogRef]; |
| 47 | set => this.Set((int)ControlConditionTupleFields.DialogRef, value); | 47 | set => this.Set((int)ControlConditionSymbolFields.DialogRef, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string ControlRef | 50 | public string ControlRef |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)ControlConditionTupleFields.ControlRef]; | 52 | get => (string)this.Fields[(int)ControlConditionSymbolFields.ControlRef]; |
| 53 | set => this.Set((int)ControlConditionTupleFields.ControlRef, value); | 53 | set => this.Set((int)ControlConditionSymbolFields.ControlRef, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Action | 56 | public string Action |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)ControlConditionTupleFields.Action]; | 58 | get => (string)this.Fields[(int)ControlConditionSymbolFields.Action]; |
| 59 | set => this.Set((int)ControlConditionTupleFields.Action, value); | 59 | set => this.Set((int)ControlConditionSymbolFields.Action, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Condition | 62 | public string Condition |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)ControlConditionTupleFields.Condition]; | 64 | get => (string)this.Fields[(int)ControlConditionSymbolFields.Condition]; |
| 65 | set => this.Set((int)ControlConditionTupleFields.Condition, value); | 65 | set => this.Set((int)ControlConditionSymbolFields.Condition, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
