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