aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-05-22 00:19:41 -0700
committerRob Mensching <rob@firegiant.com>2019-05-23 15:43:40 -0700
commit54541ef517190f37d0625627b028834f0871a959 (patch)
tree91ff4d813d5013260c04854a9ad24812ccdffa08 /src/WixToolset.Data/Tuples/WixCustomTableTuple.cs
parent505fe69d85c90184cd37290ccb0120fec6074c20 (diff)
downloadwix-54541ef517190f37d0625627b028834f0871a959.tar.gz
wix-54541ef517190f37d0625627b028834f0871a959.tar.bz2
wix-54541ef517190f37d0625627b028834f0871a959.zip
Implement many more strong tuples
Also fixes several warnings.
Diffstat (limited to 'src/WixToolset.Data/Tuples/WixCustomTableTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/WixCustomTableTuple.cs14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs b/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs
index fd21fe2d..cf4e60db 100644
--- a/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs
+++ b/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs
@@ -10,7 +10,6 @@ namespace WixToolset.Data
10 TupleDefinitionType.WixCustomTable, 10 TupleDefinitionType.WixCustomTable,
11 new[] 11 new[]
12 { 12 {
13 new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.Table), IntermediateFieldType.String),
14 new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.ColumnCount), IntermediateFieldType.Number), 13 new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.ColumnCount), IntermediateFieldType.Number),
15 new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.ColumnNames), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.ColumnNames), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.ColumnTypes), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.ColumnTypes), IntermediateFieldType.String),
@@ -33,7 +32,6 @@ namespace WixToolset.Data.Tuples
33{ 32{
34 public enum WixCustomTableTupleFields 33 public enum WixCustomTableTupleFields
35 { 34 {
36 Table,
37 ColumnCount, 35 ColumnCount,
38 ColumnNames, 36 ColumnNames,
39 ColumnTypes, 37 ColumnTypes,
@@ -61,12 +59,6 @@ namespace WixToolset.Data.Tuples
61 59
62 public IntermediateField this[WixCustomTableTupleFields index] => this.Fields[(int)index]; 60 public IntermediateField this[WixCustomTableTupleFields index] => this.Fields[(int)index];
63 61
64 public string Table
65 {
66 get => (string)this.Fields[(int)WixCustomTableTupleFields.Table];
67 set => this.Set((int)WixCustomTableTupleFields.Table, value);
68 }
69
70 public int ColumnCount 62 public int ColumnCount
71 { 63 {
72 get => (int)this.Fields[(int)WixCustomTableTupleFields.ColumnCount]; 64 get => (int)this.Fields[(int)WixCustomTableTupleFields.ColumnCount];
@@ -139,10 +131,10 @@ namespace WixToolset.Data.Tuples
139 set => this.Set((int)WixCustomTableTupleFields.Modularizations, value); 131 set => this.Set((int)WixCustomTableTupleFields.Modularizations, value);
140 } 132 }
141 133
142 public int BootstrapperApplicationData 134 public bool BootstrapperApplicationData
143 { 135 {
144 get => (int)this.Fields[(int)WixCustomTableTupleFields.BootstrapperApplicationData]; 136 get => (bool)this.Fields[(int)WixCustomTableTupleFields.BootstrapperApplicationData];
145 set => this.Set((int)WixCustomTableTupleFields.BootstrapperApplicationData, value); 137 set => this.Set((int)WixCustomTableTupleFields.BootstrapperApplicationData, value);
146 } 138 }
147 } 139 }
148} \ No newline at end of file 140}