diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/WixComponentSearchTuple.cs | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/WixToolset.Data/Tuples/WixComponentSearchTuple.cs b/src/WixToolset.Data/Tuples/WixComponentSearchTuple.cs index de6f47b9..63f7179f 100644 --- a/src/WixToolset.Data/Tuples/WixComponentSearchTuple.cs +++ b/src/WixToolset.Data/Tuples/WixComponentSearchTuple.cs | |||
@@ -2,27 +2,27 @@ | |||
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 WixComponentSearch = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixComponentSearch = new IntermediateSymbolDefinition( |
10 | TupleDefinitionType.WixComponentSearch, | 10 | SymbolDefinitionType.WixComponentSearch, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(WixComponentSearchTupleFields.Guid), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixComponentSearchSymbolFields.Guid), IntermediateFieldType.String), |
14 | new IntermediateFieldDefinition(nameof(WixComponentSearchTupleFields.ProductCode), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixComponentSearchSymbolFields.ProductCode), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(WixComponentSearchTupleFields.Attributes), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(WixComponentSearchSymbolFields.Attributes), IntermediateFieldType.Number), |
16 | }, | 16 | }, |
17 | typeof(WixComponentSearchTuple)); | 17 | typeof(WixComponentSearchSymbol)); |
18 | } | 18 | } |
19 | } | 19 | } |
20 | 20 | ||
21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
22 | { | 22 | { |
23 | using System; | 23 | using System; |
24 | 24 | ||
25 | public enum WixComponentSearchTupleFields | 25 | public enum WixComponentSearchSymbolFields |
26 | { | 26 | { |
27 | Guid, | 27 | Guid, |
28 | ProductCode, | 28 | ProductCode, |
@@ -37,34 +37,34 @@ namespace WixToolset.Data.Tuples | |||
37 | WantDirectory = 0x4, | 37 | WantDirectory = 0x4, |
38 | } | 38 | } |
39 | 39 | ||
40 | public class WixComponentSearchTuple : IntermediateTuple | 40 | public class WixComponentSearchSymbol : IntermediateSymbol |
41 | { | 41 | { |
42 | public WixComponentSearchTuple() : base(TupleDefinitions.WixComponentSearch, null, null) | 42 | public WixComponentSearchSymbol() : base(SymbolDefinitions.WixComponentSearch, null, null) |
43 | { | 43 | { |
44 | } | 44 | } |
45 | 45 | ||
46 | public WixComponentSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixComponentSearch, sourceLineNumber, id) | 46 | public WixComponentSearchSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixComponentSearch, sourceLineNumber, id) |
47 | { | 47 | { |
48 | } | 48 | } |
49 | 49 | ||
50 | public IntermediateField this[WixComponentSearchTupleFields index] => this.Fields[(int)index]; | 50 | public IntermediateField this[WixComponentSearchSymbolFields index] => this.Fields[(int)index]; |
51 | 51 | ||
52 | public string Guid | 52 | public string Guid |
53 | { | 53 | { |
54 | get => (string)this.Fields[(int)WixComponentSearchTupleFields.Guid]; | 54 | get => (string)this.Fields[(int)WixComponentSearchSymbolFields.Guid]; |
55 | set => this.Set((int)WixComponentSearchTupleFields.Guid, value); | 55 | set => this.Set((int)WixComponentSearchSymbolFields.Guid, value); |
56 | } | 56 | } |
57 | 57 | ||
58 | public string ProductCode | 58 | public string ProductCode |
59 | { | 59 | { |
60 | get => (string)this.Fields[(int)WixComponentSearchTupleFields.ProductCode]; | 60 | get => (string)this.Fields[(int)WixComponentSearchSymbolFields.ProductCode]; |
61 | set => this.Set((int)WixComponentSearchTupleFields.ProductCode, value); | 61 | set => this.Set((int)WixComponentSearchSymbolFields.ProductCode, value); |
62 | } | 62 | } |
63 | 63 | ||
64 | public WixComponentSearchAttributes Attributes | 64 | public WixComponentSearchAttributes Attributes |
65 | { | 65 | { |
66 | get => (WixComponentSearchAttributes)this.Fields[(int)WixComponentSearchTupleFields.Attributes].AsNumber(); | 66 | get => (WixComponentSearchAttributes)this.Fields[(int)WixComponentSearchSymbolFields.Attributes].AsNumber(); |
67 | set => this.Set((int)WixComponentSearchTupleFields.Attributes, (int)value); | 67 | set => this.Set((int)WixComponentSearchSymbolFields.Attributes, (int)value); |
68 | } | 68 | } |
69 | } | 69 | } |
70 | } | 70 | } |