aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/WixToolset.Data/Tuples/PatchSequenceTuple.cs46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs b/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs
index f7036a05..a4cbca61 100644
--- a/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs
+++ b/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs
@@ -2,26 +2,26 @@
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 PatchSequence = new IntermediateTupleDefinition( 9 public static readonly IntermediateSymbolDefinition PatchSequence = new IntermediateSymbolDefinition(
10 TupleDefinitionType.PatchSequence, 10 SymbolDefinitionType.PatchSequence,
11 new[] 11 new[]
12 { 12 {
13 new IntermediateFieldDefinition(nameof(PatchSequenceTupleFields.PatchFamily), IntermediateFieldType.String), 13 new IntermediateFieldDefinition(nameof(PatchSequenceSymbolFields.PatchFamily), IntermediateFieldType.String),
14 new IntermediateFieldDefinition(nameof(PatchSequenceTupleFields.Target), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(PatchSequenceSymbolFields.Target), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(PatchSequenceTupleFields.Sequence), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(PatchSequenceSymbolFields.Sequence), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(PatchSequenceTupleFields.Supersede), IntermediateFieldType.Number), 16 new IntermediateFieldDefinition(nameof(PatchSequenceSymbolFields.Supersede), IntermediateFieldType.Number),
17 }, 17 },
18 typeof(PatchSequenceTuple)); 18 typeof(PatchSequenceSymbol));
19 } 19 }
20} 20}
21 21
22namespace WixToolset.Data.Tuples 22namespace WixToolset.Data.Symbols
23{ 23{
24 public enum PatchSequenceTupleFields 24 public enum PatchSequenceSymbolFields
25 { 25 {
26 PatchFamily, 26 PatchFamily,
27 Target, 27 Target,
@@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples
29 Supersede, 29 Supersede,
30 } 30 }
31 31
32 public class PatchSequenceTuple : IntermediateTuple 32 public class PatchSequenceSymbol : IntermediateSymbol
33 { 33 {
34 public PatchSequenceTuple() : base(TupleDefinitions.PatchSequence, null, null) 34 public PatchSequenceSymbol() : base(SymbolDefinitions.PatchSequence, null, null)
35 { 35 {
36 } 36 }
37 37
38 public PatchSequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.PatchSequence, sourceLineNumber, id) 38 public PatchSequenceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.PatchSequence, sourceLineNumber, id)
39 { 39 {
40 } 40 }
41 41
42 public IntermediateField this[PatchSequenceTupleFields index] => this.Fields[(int)index]; 42 public IntermediateField this[PatchSequenceSymbolFields index] => this.Fields[(int)index];
43 43
44 public string PatchFamily 44 public string PatchFamily
45 { 45 {
46 get => (string)this.Fields[(int)PatchSequenceTupleFields.PatchFamily]; 46 get => (string)this.Fields[(int)PatchSequenceSymbolFields.PatchFamily];
47 set => this.Set((int)PatchSequenceTupleFields.PatchFamily, value); 47 set => this.Set((int)PatchSequenceSymbolFields.PatchFamily, value);
48 } 48 }
49 49
50 public string Target 50 public string Target
51 { 51 {
52 get => (string)this.Fields[(int)PatchSequenceTupleFields.Target]; 52 get => (string)this.Fields[(int)PatchSequenceSymbolFields.Target];
53 set => this.Set((int)PatchSequenceTupleFields.Target, value); 53 set => this.Set((int)PatchSequenceSymbolFields.Target, value);
54 } 54 }
55 55
56 public string Sequence 56 public string Sequence
57 { 57 {
58 get => (string)this.Fields[(int)PatchSequenceTupleFields.Sequence]; 58 get => (string)this.Fields[(int)PatchSequenceSymbolFields.Sequence];
59 set => this.Set((int)PatchSequenceTupleFields.Sequence, value); 59 set => this.Set((int)PatchSequenceSymbolFields.Sequence, value);
60 } 60 }
61 61
62 public int? Supersede 62 public int? Supersede
63 { 63 {
64 get => (int?)this.Fields[(int)PatchSequenceTupleFields.Supersede]; 64 get => (int?)this.Fields[(int)PatchSequenceSymbolFields.Supersede];
65 set => this.Set((int)PatchSequenceTupleFields.Supersede, value); 65 set => this.Set((int)PatchSequenceSymbolFields.Supersede, value);
66 } 66 }
67 } 67 }
68} \ No newline at end of file 68} \ No newline at end of file