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