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