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