aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/GroupTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/GroupTuple.cs')
-rw-r--r--src/wixext/Tuples/GroupTuple.cs40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/wixext/Tuples/GroupTuple.cs b/src/wixext/Tuples/GroupTuple.cs
index 2b270103..b378db44 100644
--- a/src/wixext/Tuples/GroupTuple.cs
+++ b/src/wixext/Tuples/GroupTuple.cs
@@ -3,61 +3,61 @@
3namespace WixToolset.Util 3namespace WixToolset.Util
4{ 4{
5 using WixToolset.Data; 5 using WixToolset.Data;
6 using WixToolset.Util.Tuples; 6 using WixToolset.Util.Symbols;
7 7
8 public static partial class UtilTupleDefinitions 8 public static partial class UtilSymbolDefinitions
9 { 9 {
10 public static readonly IntermediateTupleDefinition Group = new IntermediateTupleDefinition( 10 public static readonly IntermediateSymbolDefinition Group = new IntermediateSymbolDefinition(
11 UtilTupleDefinitionType.Group.ToString(), 11 UtilSymbolDefinitionType.Group.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(GroupTupleFields.ComponentRef), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(GroupSymbolFields.ComponentRef), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(GroupTupleFields.Name), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(GroupSymbolFields.Name), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(GroupTupleFields.Domain), IntermediateFieldType.String), 16 new IntermediateFieldDefinition(nameof(GroupSymbolFields.Domain), IntermediateFieldType.String),
17 }, 17 },
18 typeof(GroupTuple)); 18 typeof(GroupSymbol));
19 } 19 }
20} 20}
21 21
22namespace WixToolset.Util.Tuples 22namespace WixToolset.Util.Symbols
23{ 23{
24 using WixToolset.Data; 24 using WixToolset.Data;
25 25
26 public enum GroupTupleFields 26 public enum GroupSymbolFields
27 { 27 {
28 ComponentRef, 28 ComponentRef,
29 Name, 29 Name,
30 Domain, 30 Domain,
31 } 31 }
32 32
33 public class GroupTuple : IntermediateTuple 33 public class GroupSymbol : IntermediateSymbol
34 { 34 {
35 public GroupTuple() : base(UtilTupleDefinitions.Group, null, null) 35 public GroupSymbol() : base(UtilSymbolDefinitions.Group, null, null)
36 { 36 {
37 } 37 }
38 38
39 public GroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.Group, sourceLineNumber, id) 39 public GroupSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilSymbolDefinitions.Group, sourceLineNumber, id)
40 { 40 {
41 } 41 }
42 42
43 public IntermediateField this[GroupTupleFields index] => this.Fields[(int)index]; 43 public IntermediateField this[GroupSymbolFields index] => this.Fields[(int)index];
44 44
45 public string ComponentRef 45 public string ComponentRef
46 { 46 {
47 get => this.Fields[(int)GroupTupleFields.ComponentRef].AsString(); 47 get => this.Fields[(int)GroupSymbolFields.ComponentRef].AsString();
48 set => this.Set((int)GroupTupleFields.ComponentRef, value); 48 set => this.Set((int)GroupSymbolFields.ComponentRef, value);
49 } 49 }
50 50
51 public string Name 51 public string Name
52 { 52 {
53 get => this.Fields[(int)GroupTupleFields.Name].AsString(); 53 get => this.Fields[(int)GroupSymbolFields.Name].AsString();
54 set => this.Set((int)GroupTupleFields.Name, value); 54 set => this.Set((int)GroupSymbolFields.Name, value);
55 } 55 }
56 56
57 public string Domain 57 public string Domain
58 { 58 {
59 get => this.Fields[(int)GroupTupleFields.Domain].AsString(); 59 get => this.Fields[(int)GroupSymbolFields.Domain].AsString();
60 set => this.Set((int)GroupTupleFields.Domain, value); 60 set => this.Set((int)GroupSymbolFields.Domain, value);
61 } 61 }
62 } 62 }
63} \ No newline at end of file 63} \ No newline at end of file