diff options
Diffstat (limited to 'src/wixext/Tuples/ComPlusComponentTuple.cs')
| -rw-r--r-- | src/wixext/Tuples/ComPlusComponentTuple.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/wixext/Tuples/ComPlusComponentTuple.cs b/src/wixext/Tuples/ComPlusComponentTuple.cs index 70a17a5d..020b754c 100644 --- a/src/wixext/Tuples/ComPlusComponentTuple.cs +++ b/src/wixext/Tuples/ComPlusComponentTuple.cs | |||
| @@ -3,53 +3,53 @@ | |||
| 3 | namespace WixToolset.ComPlus | 3 | namespace WixToolset.ComPlus |
| 4 | { | 4 | { |
| 5 | using WixToolset.Data; | 5 | using WixToolset.Data; |
| 6 | using WixToolset.ComPlus.Tuples; | 6 | using WixToolset.ComPlus.Symbols; |
| 7 | 7 | ||
| 8 | public static partial class ComPlusTupleDefinitions | 8 | public static partial class ComPlusSymbolDefinitions |
| 9 | { | 9 | { |
| 10 | public static readonly IntermediateTupleDefinition ComPlusComponent = new IntermediateTupleDefinition( | 10 | public static readonly IntermediateSymbolDefinition ComPlusComponent = new IntermediateSymbolDefinition( |
| 11 | ComPlusTupleDefinitionType.ComPlusComponent.ToString(), | 11 | ComPlusSymbolDefinitionType.ComPlusComponent.ToString(), |
| 12 | new[] | 12 | new[] |
| 13 | { | 13 | { |
| 14 | new IntermediateFieldDefinition(nameof(ComPlusComponentTupleFields.AssemblyRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ComPlusComponentSymbolFields.AssemblyRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ComPlusComponentTupleFields.CLSID), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ComPlusComponentSymbolFields.CLSID), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(ComPlusComponentTuple)); | 17 | typeof(ComPlusComponentSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.ComPlus.Tuples | 21 | namespace WixToolset.ComPlus.Symbols |
| 22 | { | 22 | { |
| 23 | using WixToolset.Data; | 23 | using WixToolset.Data; |
| 24 | 24 | ||
| 25 | public enum ComPlusComponentTupleFields | 25 | public enum ComPlusComponentSymbolFields |
| 26 | { | 26 | { |
| 27 | AssemblyRef, | 27 | AssemblyRef, |
| 28 | CLSID, | 28 | CLSID, |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | public class ComPlusComponentTuple : IntermediateTuple | 31 | public class ComPlusComponentSymbol : IntermediateSymbol |
| 32 | { | 32 | { |
| 33 | public ComPlusComponentTuple() : base(ComPlusTupleDefinitions.ComPlusComponent, null, null) | 33 | public ComPlusComponentSymbol() : base(ComPlusSymbolDefinitions.ComPlusComponent, null, null) |
| 34 | { | 34 | { |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | public ComPlusComponentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusComponent, sourceLineNumber, id) | 37 | public ComPlusComponentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusComponent, sourceLineNumber, id) |
| 38 | { | 38 | { |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | public IntermediateField this[ComPlusComponentTupleFields index] => this.Fields[(int)index]; | 41 | public IntermediateField this[ComPlusComponentSymbolFields index] => this.Fields[(int)index]; |
| 42 | 42 | ||
| 43 | public string AssemblyRef | 43 | public string AssemblyRef |
| 44 | { | 44 | { |
| 45 | get => this.Fields[(int)ComPlusComponentTupleFields.AssemblyRef].AsString(); | 45 | get => this.Fields[(int)ComPlusComponentSymbolFields.AssemblyRef].AsString(); |
| 46 | set => this.Set((int)ComPlusComponentTupleFields.AssemblyRef, value); | 46 | set => this.Set((int)ComPlusComponentSymbolFields.AssemblyRef, value); |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | public string CLSID | 49 | public string CLSID |
| 50 | { | 50 | { |
| 51 | get => this.Fields[(int)ComPlusComponentTupleFields.CLSID].AsString(); | 51 | get => this.Fields[(int)ComPlusComponentSymbolFields.CLSID].AsString(); |
| 52 | set => this.Set((int)ComPlusComponentTupleFields.CLSID, value); | 52 | set => this.Set((int)ComPlusComponentSymbolFields.CLSID, value); |
| 53 | } | 53 | } |
| 54 | } | 54 | } |
| 55 | } \ No newline at end of file | 55 | } \ No newline at end of file |
