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