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