aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/WixToolset.Data/Tuples/WixPatchRefTuple.cs34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs b/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs
index fa357566..66257d84 100644
--- a/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs
+++ b/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs
@@ -2,51 +2,51 @@
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 WixPatchRef = new IntermediateTupleDefinition( 9 public static readonly IntermediateSymbolDefinition WixPatchRef = new IntermediateSymbolDefinition(
10 TupleDefinitionType.WixPatchRef, 10 SymbolDefinitionType.WixPatchRef,
11 new[] 11 new[]
12 { 12 {
13 new IntermediateFieldDefinition(nameof(WixPatchRefTupleFields.Table), IntermediateFieldType.String), 13 new IntermediateFieldDefinition(nameof(WixPatchRefSymbolFields.Table), IntermediateFieldType.String),
14 new IntermediateFieldDefinition(nameof(WixPatchRefTupleFields.PrimaryKeys), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(WixPatchRefSymbolFields.PrimaryKeys), IntermediateFieldType.String),
15 }, 15 },
16 typeof(WixPatchRefTuple)); 16 typeof(WixPatchRefSymbol));
17 } 17 }
18} 18}
19 19
20namespace WixToolset.Data.Tuples 20namespace WixToolset.Data.Symbols
21{ 21{
22 public enum WixPatchRefTupleFields 22 public enum WixPatchRefSymbolFields
23 { 23 {
24 Table, 24 Table,
25 PrimaryKeys, 25 PrimaryKeys,
26 } 26 }
27 27
28 public class WixPatchRefTuple : IntermediateTuple 28 public class WixPatchRefSymbol : IntermediateSymbol
29 { 29 {
30 public WixPatchRefTuple() : base(TupleDefinitions.WixPatchRef, null, null) 30 public WixPatchRefSymbol() : base(SymbolDefinitions.WixPatchRef, null, null)
31 { 31 {
32 } 32 }
33 33
34 public WixPatchRefTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPatchRef, sourceLineNumber, id) 34 public WixPatchRefSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixPatchRef, sourceLineNumber, id)
35 { 35 {
36 } 36 }
37 37
38 public IntermediateField this[WixPatchRefTupleFields index] => this.Fields[(int)index]; 38 public IntermediateField this[WixPatchRefSymbolFields index] => this.Fields[(int)index];
39 39
40 public string Table 40 public string Table
41 { 41 {
42 get => (string)this.Fields[(int)WixPatchRefTupleFields.Table]; 42 get => (string)this.Fields[(int)WixPatchRefSymbolFields.Table];
43 set => this.Set((int)WixPatchRefTupleFields.Table, value); 43 set => this.Set((int)WixPatchRefSymbolFields.Table, value);
44 } 44 }
45 45
46 public string PrimaryKeys 46 public string PrimaryKeys
47 { 47 {
48 get => (string)this.Fields[(int)WixPatchRefTupleFields.PrimaryKeys]; 48 get => (string)this.Fields[(int)WixPatchRefSymbolFields.PrimaryKeys];
49 set => this.Set((int)WixPatchRefTupleFields.PrimaryKeys, value); 49 set => this.Set((int)WixPatchRefSymbolFields.PrimaryKeys, value);
50 } 50 }
51 } 51 }
52} \ No newline at end of file 52} \ No newline at end of file