diff options
Diffstat (limited to 'src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs b/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs index 76033560..50d615b0 100644 --- a/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs +++ b/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.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 ModuleSubstitution = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ModuleSubstitution = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ModuleSubstitution, | 10 | SymbolDefinitionType.ModuleSubstitution, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionTupleFields.Table), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionSymbolFields.Table), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionTupleFields.Row), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionSymbolFields.Row), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionTupleFields.Column), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionSymbolFields.Column), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionTupleFields.Value), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionSymbolFields.Value), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(ModuleSubstitutionTuple)); | 18 | typeof(ModuleSubstitutionSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum ModuleSubstitutionTupleFields | 24 | public enum ModuleSubstitutionSymbolFields |
| 25 | { | 25 | { |
| 26 | Table, | 26 | Table, |
| 27 | Row, | 27 | Row, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Value, | 29 | Value, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class ModuleSubstitutionTuple : IntermediateTuple | 32 | public class ModuleSubstitutionSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public ModuleSubstitutionTuple() : base(TupleDefinitions.ModuleSubstitution, null, null) | 34 | public ModuleSubstitutionSymbol() : base(SymbolDefinitions.ModuleSubstitution, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public ModuleSubstitutionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleSubstitution, sourceLineNumber, id) | 38 | public ModuleSubstitutionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ModuleSubstitution, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[ModuleSubstitutionTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[ModuleSubstitutionSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string Table | 44 | public string Table |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Table]; | 46 | get => (string)this.Fields[(int)ModuleSubstitutionSymbolFields.Table]; |
| 47 | set => this.Set((int)ModuleSubstitutionTupleFields.Table, value); | 47 | set => this.Set((int)ModuleSubstitutionSymbolFields.Table, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string Row | 50 | public string Row |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Row]; | 52 | get => (string)this.Fields[(int)ModuleSubstitutionSymbolFields.Row]; |
| 53 | set => this.Set((int)ModuleSubstitutionTupleFields.Row, value); | 53 | set => this.Set((int)ModuleSubstitutionSymbolFields.Row, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Column | 56 | public string Column |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Column]; | 58 | get => (string)this.Fields[(int)ModuleSubstitutionSymbolFields.Column]; |
| 59 | set => this.Set((int)ModuleSubstitutionTupleFields.Column, value); | 59 | set => this.Set((int)ModuleSubstitutionSymbolFields.Column, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Value | 62 | public string Value |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Value]; | 64 | get => (string)this.Fields[(int)ModuleSubstitutionSymbolFields.Value]; |
| 65 | set => this.Set((int)ModuleSubstitutionTupleFields.Value, value); | 65 | set => this.Set((int)ModuleSubstitutionSymbolFields.Value, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
