aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/ODBCDriverTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/WixToolset.Data/Tuples/ODBCDriverTuple.cs46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/WixToolset.Data/Tuples/ODBCDriverTuple.cs b/src/WixToolset.Data/Tuples/ODBCDriverTuple.cs
index 79de70e5..b31cc4cb 100644
--- a/src/WixToolset.Data/Tuples/ODBCDriverTuple.cs
+++ b/src/WixToolset.Data/Tuples/ODBCDriverTuple.cs
@@ -2,26 +2,26 @@
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 ODBCDriver = new IntermediateTupleDefinition( 9 public static readonly IntermediateSymbolDefinition ODBCDriver = new IntermediateSymbolDefinition(
10 TupleDefinitionType.ODBCDriver, 10 SymbolDefinitionType.ODBCDriver,
11 new[] 11 new[]
12 { 12 {
13 new IntermediateFieldDefinition(nameof(ODBCDriverTupleFields.ComponentRef), IntermediateFieldType.String), 13 new IntermediateFieldDefinition(nameof(ODBCDriverSymbolFields.ComponentRef), IntermediateFieldType.String),
14 new IntermediateFieldDefinition(nameof(ODBCDriverTupleFields.Description), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(ODBCDriverSymbolFields.Description), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(ODBCDriverTupleFields.FileRef), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(ODBCDriverSymbolFields.FileRef), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(ODBCDriverTupleFields.SetupFileRef), IntermediateFieldType.String), 16 new IntermediateFieldDefinition(nameof(ODBCDriverSymbolFields.SetupFileRef), IntermediateFieldType.String),
17 }, 17 },
18 typeof(ODBCDriverTuple)); 18 typeof(ODBCDriverSymbol));
19 } 19 }
20} 20}
21 21
22namespace WixToolset.Data.Tuples 22namespace WixToolset.Data.Symbols
23{ 23{
24 public enum ODBCDriverTupleFields 24 public enum ODBCDriverSymbolFields
25 { 25 {
26 ComponentRef, 26 ComponentRef,
27 Description, 27 Description,
@@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples
29 SetupFileRef, 29 SetupFileRef,
30 } 30 }
31 31
32 public class ODBCDriverTuple : IntermediateTuple 32 public class ODBCDriverSymbol : IntermediateSymbol
33 { 33 {
34 public ODBCDriverTuple() : base(TupleDefinitions.ODBCDriver, null, null) 34 public ODBCDriverSymbol() : base(SymbolDefinitions.ODBCDriver, null, null)
35 { 35 {
36 } 36 }
37 37
38 public ODBCDriverTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ODBCDriver, sourceLineNumber, id) 38 public ODBCDriverSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ODBCDriver, sourceLineNumber, id)
39 { 39 {
40 } 40 }
41 41
42 public IntermediateField this[ODBCDriverTupleFields index] => this.Fields[(int)index]; 42 public IntermediateField this[ODBCDriverSymbolFields index] => this.Fields[(int)index];
43 43
44 public string ComponentRef 44 public string ComponentRef
45 { 45 {
46 get => (string)this.Fields[(int)ODBCDriverTupleFields.ComponentRef]; 46 get => (string)this.Fields[(int)ODBCDriverSymbolFields.ComponentRef];
47 set => this.Set((int)ODBCDriverTupleFields.ComponentRef, value); 47 set => this.Set((int)ODBCDriverSymbolFields.ComponentRef, value);
48 } 48 }
49 49
50 public string Description 50 public string Description
51 { 51 {
52 get => (string)this.Fields[(int)ODBCDriverTupleFields.Description]; 52 get => (string)this.Fields[(int)ODBCDriverSymbolFields.Description];
53 set => this.Set((int)ODBCDriverTupleFields.Description, value); 53 set => this.Set((int)ODBCDriverSymbolFields.Description, value);
54 } 54 }
55 55
56 public string FileRef 56 public string FileRef
57 { 57 {
58 get => (string)this.Fields[(int)ODBCDriverTupleFields.FileRef]; 58 get => (string)this.Fields[(int)ODBCDriverSymbolFields.FileRef];
59 set => this.Set((int)ODBCDriverTupleFields.FileRef, value); 59 set => this.Set((int)ODBCDriverSymbolFields.FileRef, value);
60 } 60 }
61 61
62 public string SetupFileRef 62 public string SetupFileRef
63 { 63 {
64 get => (string)this.Fields[(int)ODBCDriverTupleFields.SetupFileRef]; 64 get => (string)this.Fields[(int)ODBCDriverSymbolFields.SetupFileRef];
65 set => this.Set((int)ODBCDriverTupleFields.SetupFileRef, value); 65 set => this.Set((int)ODBCDriverSymbolFields.SetupFileRef, value);
66 } 66 }
67 } 67 }
68} 68}