aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2020-06-24 14:05:08 -0700
committerRob Mensching <rob@firegiant.com>2020-06-25 12:48:19 -0700
commit9787570331b511bab73ac8f4f38a3b8cfa053ca5 (patch)
tree508155e2cf4f6bafeef2be1059da547291025352 /src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs
parent2bcc21d5c2d27e578f59f905f6acd0979b78aa9d (diff)
downloadwix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.tar.gz
wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.tar.bz2
wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.zip
The Great Tuple to Symbol Rename (tm)
Diffstat (limited to 'src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs b/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs
index 1209790f..4dd5a3b5 100644
--- a/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs
+++ b/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs
@@ -2,43 +2,43 @@
2 2
3namespace WixToolset.Data 3namespace WixToolset.Data
4{ 4{
5 using WixToolset.Data.Tuples; 5 using WixToolset.Data.Symbols;
6 6
7 public static partial class TupleDefinitions 7 public static partial class SymbolDefinitions
8 { 8 {
9 public static readonly IntermediateTupleDefinition WixComponentGroup = new IntermediateTupleDefinition( 9 public static readonly IntermediateSymbolDefinition WixComponentGroup = new IntermediateSymbolDefinition(
10 TupleDefinitionType.WixComponentGroup, 10 SymbolDefinitionType.WixComponentGroup,
11 new[] 11 new[]
12 { 12 {
13 new IntermediateFieldDefinition(nameof(WixComponentGroupTupleFields.WixComponentGroup), IntermediateFieldType.String), 13 new IntermediateFieldDefinition(nameof(WixComponentGroupSymbolFields.WixComponentGroup), IntermediateFieldType.String),
14 }, 14 },
15 typeof(WixComponentGroupTuple)); 15 typeof(WixComponentGroupSymbol));
16 } 16 }
17} 17}
18 18
19namespace WixToolset.Data.Tuples 19namespace WixToolset.Data.Symbols
20{ 20{
21 public enum WixComponentGroupTupleFields 21 public enum WixComponentGroupSymbolFields
22 { 22 {
23 WixComponentGroup, 23 WixComponentGroup,
24 } 24 }
25 25
26 public class WixComponentGroupTuple : IntermediateTuple 26 public class WixComponentGroupSymbol : IntermediateSymbol
27 { 27 {
28 public WixComponentGroupTuple() : base(TupleDefinitions.WixComponentGroup, null, null) 28 public WixComponentGroupSymbol() : base(SymbolDefinitions.WixComponentGroup, null, null)
29 { 29 {
30 } 30 }
31 31
32 public WixComponentGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixComponentGroup, sourceLineNumber, id) 32 public WixComponentGroupSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixComponentGroup, sourceLineNumber, id)
33 { 33 {
34 } 34 }
35 35
36 public IntermediateField this[WixComponentGroupTupleFields index] => this.Fields[(int)index]; 36 public IntermediateField this[WixComponentGroupSymbolFields index] => this.Fields[(int)index];
37 37
38 public string WixComponentGroup 38 public string WixComponentGroup
39 { 39 {
40 get => (string)this.Fields[(int)WixComponentGroupTupleFields.WixComponentGroup]; 40 get => (string)this.Fields[(int)WixComponentGroupSymbolFields.WixComponentGroup];
41 set => this.Set((int)WixComponentGroupTupleFields.WixComponentGroup, value); 41 set => this.Set((int)WixComponentGroupSymbolFields.WixComponentGroup, value);
42 } 42 }
43 } 43 }
44} \ No newline at end of file 44} \ No newline at end of file