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