diff options
Diffstat (limited to 'src/wixext/Tuples/ComPlusMethodTuple.cs')
-rw-r--r-- | src/wixext/Tuples/ComPlusMethodTuple.cs | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/wixext/Tuples/ComPlusMethodTuple.cs b/src/wixext/Tuples/ComPlusMethodTuple.cs index 4cb451c2..9959a56f 100644 --- a/src/wixext/Tuples/ComPlusMethodTuple.cs +++ b/src/wixext/Tuples/ComPlusMethodTuple.cs | |||
@@ -3,61 +3,61 @@ | |||
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 ComPlusMethod = new IntermediateTupleDefinition( | 10 | public static readonly IntermediateSymbolDefinition ComPlusMethod = new IntermediateSymbolDefinition( |
11 | ComPlusTupleDefinitionType.ComPlusMethod.ToString(), | 11 | ComPlusSymbolDefinitionType.ComPlusMethod.ToString(), |
12 | new[] | 12 | new[] |
13 | { | 13 | { |
14 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.InterfaceRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ComPlusMethodSymbolFields.InterfaceRef), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.Index), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(ComPlusMethodSymbolFields.Index), IntermediateFieldType.Number), |
16 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.Name), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ComPlusMethodSymbolFields.Name), IntermediateFieldType.String), |
17 | }, | 17 | }, |
18 | typeof(ComPlusMethodTuple)); | 18 | typeof(ComPlusMethodSymbol)); |
19 | } | 19 | } |
20 | } | 20 | } |
21 | 21 | ||
22 | namespace WixToolset.ComPlus.Tuples | 22 | namespace WixToolset.ComPlus.Symbols |
23 | { | 23 | { |
24 | using WixToolset.Data; | 24 | using WixToolset.Data; |
25 | 25 | ||
26 | public enum ComPlusMethodTupleFields | 26 | public enum ComPlusMethodSymbolFields |
27 | { | 27 | { |
28 | InterfaceRef, | 28 | InterfaceRef, |
29 | Index, | 29 | Index, |
30 | Name, | 30 | Name, |
31 | } | 31 | } |
32 | 32 | ||
33 | public class ComPlusMethodTuple : IntermediateTuple | 33 | public class ComPlusMethodSymbol : IntermediateSymbol |
34 | { | 34 | { |
35 | public ComPlusMethodTuple() : base(ComPlusTupleDefinitions.ComPlusMethod, null, null) | 35 | public ComPlusMethodSymbol() : base(ComPlusSymbolDefinitions.ComPlusMethod, null, null) |
36 | { | 36 | { |
37 | } | 37 | } |
38 | 38 | ||
39 | public ComPlusMethodTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusMethod, sourceLineNumber, id) | 39 | public ComPlusMethodSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusMethod, sourceLineNumber, id) |
40 | { | 40 | { |
41 | } | 41 | } |
42 | 42 | ||
43 | public IntermediateField this[ComPlusMethodTupleFields index] => this.Fields[(int)index]; | 43 | public IntermediateField this[ComPlusMethodSymbolFields index] => this.Fields[(int)index]; |
44 | 44 | ||
45 | public string InterfaceRef | 45 | public string InterfaceRef |
46 | { | 46 | { |
47 | get => this.Fields[(int)ComPlusMethodTupleFields.InterfaceRef].AsString(); | 47 | get => this.Fields[(int)ComPlusMethodSymbolFields.InterfaceRef].AsString(); |
48 | set => this.Set((int)ComPlusMethodTupleFields.InterfaceRef, value); | 48 | set => this.Set((int)ComPlusMethodSymbolFields.InterfaceRef, value); |
49 | } | 49 | } |
50 | 50 | ||
51 | public int? Index | 51 | public int? Index |
52 | { | 52 | { |
53 | get => this.Fields[(int)ComPlusMethodTupleFields.Index].AsNullableNumber(); | 53 | get => this.Fields[(int)ComPlusMethodSymbolFields.Index].AsNullableNumber(); |
54 | set => this.Set((int)ComPlusMethodTupleFields.Index, value); | 54 | set => this.Set((int)ComPlusMethodSymbolFields.Index, value); |
55 | } | 55 | } |
56 | 56 | ||
57 | public string Name | 57 | public string Name |
58 | { | 58 | { |
59 | get => this.Fields[(int)ComPlusMethodTupleFields.Name].AsString(); | 59 | get => this.Fields[(int)ComPlusMethodSymbolFields.Name].AsString(); |
60 | set => this.Set((int)ComPlusMethodTupleFields.Name, value); | 60 | set => this.Set((int)ComPlusMethodSymbolFields.Name, value); |
61 | } | 61 | } |
62 | } | 62 | } |
63 | } \ No newline at end of file | 63 | } \ No newline at end of file |