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