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