diff options
Diffstat (limited to 'src/WixToolset.Data/Tuples/ComplusTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/ComplusTuple.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/WixToolset.Data/Tuples/ComplusTuple.cs b/src/WixToolset.Data/Tuples/ComplusTuple.cs index 428f3a8e..fa16af86 100644 --- a/src/WixToolset.Data/Tuples/ComplusTuple.cs +++ b/src/WixToolset.Data/Tuples/ComplusTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 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 Complus = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Complus = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Complus, | 10 | SymbolDefinitionType.Complus, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ComplusTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ComplusSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ComplusTupleFields.ExpType), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(ComplusSymbolFields.ExpType), IntermediateFieldType.Number), |
| 15 | }, | 15 | }, |
| 16 | typeof(ComplusTuple)); | 16 | typeof(ComplusSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum ComplusTupleFields | 22 | public enum ComplusSymbolFields |
| 23 | { | 23 | { |
| 24 | ComponentRef, | 24 | ComponentRef, |
| 25 | ExpType, | 25 | ExpType, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class ComplusTuple : IntermediateTuple | 28 | public class ComplusSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public ComplusTuple() : base(TupleDefinitions.Complus, null, null) | 30 | public ComplusSymbol() : base(SymbolDefinitions.Complus, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public ComplusTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Complus, sourceLineNumber, id) | 34 | public ComplusSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Complus, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[ComplusTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[ComplusSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string ComponentRef | 40 | public string ComponentRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)ComplusTupleFields.ComponentRef]; | 42 | get => (string)this.Fields[(int)ComplusSymbolFields.ComponentRef]; |
| 43 | set => this.Set((int)ComplusTupleFields.ComponentRef, value); | 43 | set => this.Set((int)ComplusSymbolFields.ComponentRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public int? ExpType | 46 | public int? ExpType |
| 47 | { | 47 | { |
| 48 | get => (int?)this.Fields[(int)ComplusTupleFields.ExpType]; | 48 | get => (int?)this.Fields[(int)ComplusSymbolFields.ExpType]; |
| 49 | set => this.Set((int)ComplusTupleFields.ExpType, value); | 49 | set => this.Set((int)ComplusSymbolFields.ExpType, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
