diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/WixSimpleReferenceTuple.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/WixToolset.Data/Tuples/WixSimpleReferenceTuple.cs b/src/WixToolset.Data/Tuples/WixSimpleReferenceTuple.cs index abc53b3a..1091b715 100644 --- a/src/WixToolset.Data/Tuples/WixSimpleReferenceTuple.cs +++ b/src/WixToolset.Data/Tuples/WixSimpleReferenceTuple.cs | |||
@@ -2,55 +2,55 @@ | |||
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 WixSimpleReference = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixSimpleReference = new IntermediateSymbolDefinition( |
10 | TupleDefinitionType.WixSimpleReference, | 10 | SymbolDefinitionType.WixSimpleReference, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(WixSimpleReferenceTupleFields.Table), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixSimpleReferenceSymbolFields.Table), IntermediateFieldType.String), |
14 | new IntermediateFieldDefinition(nameof(WixSimpleReferenceTupleFields.PrimaryKeys), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixSimpleReferenceSymbolFields.PrimaryKeys), IntermediateFieldType.String), |
15 | }, | 15 | }, |
16 | typeof(WixSimpleReferenceTuple)); | 16 | typeof(WixSimpleReferenceSymbol)); |
17 | } | 17 | } |
18 | } | 18 | } |
19 | 19 | ||
20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
21 | { | 21 | { |
22 | using System; | 22 | using System; |
23 | using System.Diagnostics; | 23 | using System.Diagnostics; |
24 | 24 | ||
25 | public enum WixSimpleReferenceTupleFields | 25 | public enum WixSimpleReferenceSymbolFields |
26 | { | 26 | { |
27 | Table, | 27 | Table, |
28 | PrimaryKeys, | 28 | PrimaryKeys, |
29 | } | 29 | } |
30 | 30 | ||
31 | [DebuggerDisplay("{SymbolicName}")] | 31 | [DebuggerDisplay("{SymbolicName}")] |
32 | public class WixSimpleReferenceTuple : IntermediateTuple | 32 | public class WixSimpleReferenceSymbol : IntermediateSymbol |
33 | { | 33 | { |
34 | public WixSimpleReferenceTuple() : base(TupleDefinitions.WixSimpleReference, null, null) | 34 | public WixSimpleReferenceSymbol() : base(SymbolDefinitions.WixSimpleReference, null, null) |
35 | { | 35 | { |
36 | } | 36 | } |
37 | 37 | ||
38 | public WixSimpleReferenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixSimpleReference, sourceLineNumber, id) | 38 | public WixSimpleReferenceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixSimpleReference, sourceLineNumber, id) |
39 | { | 39 | { |
40 | } | 40 | } |
41 | 41 | ||
42 | public IntermediateField this[WixSimpleReferenceTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[WixSimpleReferenceSymbolFields index] => this.Fields[(int)index]; |
43 | 43 | ||
44 | public string Table | 44 | public string Table |
45 | { | 45 | { |
46 | get => (string)this.Fields[(int)WixSimpleReferenceTupleFields.Table]; | 46 | get => (string)this.Fields[(int)WixSimpleReferenceSymbolFields.Table]; |
47 | set => this.Set((int)WixSimpleReferenceTupleFields.Table, value); | 47 | set => this.Set((int)WixSimpleReferenceSymbolFields.Table, value); |
48 | } | 48 | } |
49 | 49 | ||
50 | public string PrimaryKeys | 50 | public string PrimaryKeys |
51 | { | 51 | { |
52 | get => (string)this.Fields[(int)WixSimpleReferenceTupleFields.PrimaryKeys]; | 52 | get => (string)this.Fields[(int)WixSimpleReferenceSymbolFields.PrimaryKeys]; |
53 | set => this.Set((int)WixSimpleReferenceTupleFields.PrimaryKeys, value); | 53 | set => this.Set((int)WixSimpleReferenceSymbolFields.PrimaryKeys, value); |
54 | } | 54 | } |
55 | 55 | ||
56 | /// <summary> | 56 | /// <summary> |