diff options
| author | Rob Mensching <rob@firegiant.com> | 2020-06-24 14:05:08 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2020-06-25 12:48:19 -0700 |
| commit | 9787570331b511bab73ac8f4f38a3b8cfa053ca5 (patch) | |
| tree | 508155e2cf4f6bafeef2be1059da547291025352 /src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs | |
| parent | 2bcc21d5c2d27e578f59f905f6acd0979b78aa9d (diff) | |
| download | wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.tar.gz wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.tar.bz2 wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.zip | |
The Great Tuple to Symbol Rename (tm)
Diffstat (limited to 'src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs b/src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs index c7530abf..c9e4470c 100644 --- a/src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs +++ b/src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 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 WixInstanceComponent = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixInstanceComponent = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixInstanceComponent, | 10 | SymbolDefinitionType.WixInstanceComponent, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixInstanceComponentTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixInstanceComponentSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | }, | 14 | }, |
| 15 | typeof(WixInstanceComponentTuple)); | 15 | typeof(WixInstanceComponentSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum WixInstanceComponentTupleFields | 21 | public enum WixInstanceComponentSymbolFields |
| 22 | { | 22 | { |
| 23 | ComponentRef, | 23 | ComponentRef, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class WixInstanceComponentTuple : IntermediateTuple | 26 | public class WixInstanceComponentSymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public WixInstanceComponentTuple() : base(TupleDefinitions.WixInstanceComponent, null, null) | 28 | public WixInstanceComponentSymbol() : base(SymbolDefinitions.WixInstanceComponent, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public WixInstanceComponentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixInstanceComponent, sourceLineNumber, id) | 32 | public WixInstanceComponentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixInstanceComponent, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[WixInstanceComponentTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[WixInstanceComponentSymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public string ComponentRef | 38 | public string ComponentRef |
| 39 | { | 39 | { |
| 40 | get => (string)this.Fields[(int)WixInstanceComponentTupleFields.ComponentRef]; | 40 | get => (string)this.Fields[(int)WixInstanceComponentSymbolFields.ComponentRef]; |
| 41 | set => this.Set((int)WixInstanceComponentTupleFields.ComponentRef, value); | 41 | set => this.Set((int)WixInstanceComponentSymbolFields.ComponentRef, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } \ No newline at end of file | 44 | } \ No newline at end of file |
