diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/IniLocatorTuple.cs | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/src/WixToolset.Data/Tuples/IniLocatorTuple.cs b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs index 1a52715d..64351681 100644 --- a/src/WixToolset.Data/Tuples/IniLocatorTuple.cs +++ b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs | |||
@@ -2,28 +2,28 @@ | |||
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 IniLocator = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition IniLocator = new IntermediateSymbolDefinition( |
10 | TupleDefinitionType.IniLocator, | 10 | SymbolDefinitionType.IniLocator, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.SignatureRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(IniLocatorSymbolFields.SignatureRef), IntermediateFieldType.String), |
14 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.FileName), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(IniLocatorSymbolFields.FileName), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.Section), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(IniLocatorSymbolFields.Section), IntermediateFieldType.String), |
16 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.Key), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(IniLocatorSymbolFields.Key), IntermediateFieldType.String), |
17 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.Field), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(IniLocatorSymbolFields.Field), IntermediateFieldType.Number), |
18 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.Type), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(IniLocatorSymbolFields.Type), IntermediateFieldType.Number), |
19 | }, | 19 | }, |
20 | typeof(IniLocatorTuple)); | 20 | typeof(IniLocatorSymbol)); |
21 | } | 21 | } |
22 | } | 22 | } |
23 | 23 | ||
24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
25 | { | 25 | { |
26 | public enum IniLocatorTupleFields | 26 | public enum IniLocatorSymbolFields |
27 | { | 27 | { |
28 | SignatureRef, | 28 | SignatureRef, |
29 | FileName, | 29 | FileName, |
@@ -33,52 +33,52 @@ namespace WixToolset.Data.Tuples | |||
33 | Type, | 33 | Type, |
34 | } | 34 | } |
35 | 35 | ||
36 | public class IniLocatorTuple : IntermediateTuple | 36 | public class IniLocatorSymbol : IntermediateSymbol |
37 | { | 37 | { |
38 | public IniLocatorTuple() : base(TupleDefinitions.IniLocator, null, null) | 38 | public IniLocatorSymbol() : base(SymbolDefinitions.IniLocator, null, null) |
39 | { | 39 | { |
40 | } | 40 | } |
41 | 41 | ||
42 | public IniLocatorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.IniLocator, sourceLineNumber, id) | 42 | public IniLocatorSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.IniLocator, sourceLineNumber, id) |
43 | { | 43 | { |
44 | } | 44 | } |
45 | 45 | ||
46 | public IntermediateField this[IniLocatorTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[IniLocatorSymbolFields index] => this.Fields[(int)index]; |
47 | 47 | ||
48 | public string SignatureRef | 48 | public string SignatureRef |
49 | { | 49 | { |
50 | get => (string)this.Fields[(int)IniLocatorTupleFields.SignatureRef]; | 50 | get => (string)this.Fields[(int)IniLocatorSymbolFields.SignatureRef]; |
51 | set => this.Set((int)IniLocatorTupleFields.SignatureRef, value); | 51 | set => this.Set((int)IniLocatorSymbolFields.SignatureRef, value); |
52 | } | 52 | } |
53 | 53 | ||
54 | public string FileName | 54 | public string FileName |
55 | { | 55 | { |
56 | get => (string)this.Fields[(int)IniLocatorTupleFields.FileName]; | 56 | get => (string)this.Fields[(int)IniLocatorSymbolFields.FileName]; |
57 | set => this.Set((int)IniLocatorTupleFields.FileName, value); | 57 | set => this.Set((int)IniLocatorSymbolFields.FileName, value); |
58 | } | 58 | } |
59 | 59 | ||
60 | public string Section | 60 | public string Section |
61 | { | 61 | { |
62 | get => (string)this.Fields[(int)IniLocatorTupleFields.Section]; | 62 | get => (string)this.Fields[(int)IniLocatorSymbolFields.Section]; |
63 | set => this.Set((int)IniLocatorTupleFields.Section, value); | 63 | set => this.Set((int)IniLocatorSymbolFields.Section, value); |
64 | } | 64 | } |
65 | 65 | ||
66 | public string Key | 66 | public string Key |
67 | { | 67 | { |
68 | get => (string)this.Fields[(int)IniLocatorTupleFields.Key]; | 68 | get => (string)this.Fields[(int)IniLocatorSymbolFields.Key]; |
69 | set => this.Set((int)IniLocatorTupleFields.Key, value); | 69 | set => this.Set((int)IniLocatorSymbolFields.Key, value); |
70 | } | 70 | } |
71 | 71 | ||
72 | public int? Field | 72 | public int? Field |
73 | { | 73 | { |
74 | get => (int?)this.Fields[(int)IniLocatorTupleFields.Field]; | 74 | get => (int?)this.Fields[(int)IniLocatorSymbolFields.Field]; |
75 | set => this.Set((int)IniLocatorTupleFields.Field, value); | 75 | set => this.Set((int)IniLocatorSymbolFields.Field, value); |
76 | } | 76 | } |
77 | 77 | ||
78 | public int? Type | 78 | public int? Type |
79 | { | 79 | { |
80 | get => (int?)this.Fields[(int)IniLocatorTupleFields.Type]; | 80 | get => (int?)this.Fields[(int)IniLocatorSymbolFields.Type]; |
81 | set => this.Set((int)IniLocatorTupleFields.Type, value); | 81 | set => this.Set((int)IniLocatorSymbolFields.Type, value); |
82 | } | 82 | } |
83 | } | 83 | } |
84 | } \ No newline at end of file | 84 | } \ No newline at end of file |