diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/BinaryTuple.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/WixToolset.Data/Tuples/BinaryTuple.cs b/src/WixToolset.Data/Tuples/BinaryTuple.cs index 358f5bf6..ec26b01a 100644 --- a/src/WixToolset.Data/Tuples/BinaryTuple.cs +++ b/src/WixToolset.Data/Tuples/BinaryTuple.cs | |||
@@ -2,43 +2,43 @@ | |||
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 Binary = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Binary = new IntermediateSymbolDefinition( |
10 | TupleDefinitionType.Binary, | 10 | SymbolDefinitionType.Binary, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(BinaryTupleFields.Data), IntermediateFieldType.Path), | 13 | new IntermediateFieldDefinition(nameof(BinarySymbolFields.Data), IntermediateFieldType.Path), |
14 | }, | 14 | }, |
15 | typeof(BinaryTuple)); | 15 | typeof(BinarySymbol)); |
16 | } | 16 | } |
17 | } | 17 | } |
18 | 18 | ||
19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
20 | { | 20 | { |
21 | public enum BinaryTupleFields | 21 | public enum BinarySymbolFields |
22 | { | 22 | { |
23 | Data, | 23 | Data, |
24 | } | 24 | } |
25 | 25 | ||
26 | public class BinaryTuple : IntermediateTuple | 26 | public class BinarySymbol : IntermediateSymbol |
27 | { | 27 | { |
28 | public BinaryTuple() : base(TupleDefinitions.Binary, null, null) | 28 | public BinarySymbol() : base(SymbolDefinitions.Binary, null, null) |
29 | { | 29 | { |
30 | } | 30 | } |
31 | 31 | ||
32 | public BinaryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Binary, sourceLineNumber, id) | 32 | public BinarySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Binary, sourceLineNumber, id) |
33 | { | 33 | { |
34 | } | 34 | } |
35 | 35 | ||
36 | public IntermediateField this[BinaryTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[BinarySymbolFields index] => this.Fields[(int)index]; |
37 | 37 | ||
38 | public IntermediateFieldPathValue Data | 38 | public IntermediateFieldPathValue Data |
39 | { | 39 | { |
40 | get => this.Fields[(int)BinaryTupleFields.Data].AsPath(); | 40 | get => this.Fields[(int)BinarySymbolFields.Data].AsPath(); |
41 | set => this.Set((int)BinaryTupleFields.Data, value); | 41 | set => this.Set((int)BinarySymbolFields.Data, value); |
42 | } | 42 | } |
43 | } | 43 | } |
44 | } \ No newline at end of file | 44 | } \ No newline at end of file |