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