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