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