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