diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-05-22 00:19:41 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-05-23 15:43:40 -0700 |
| commit | 54541ef517190f37d0625627b028834f0871a959 (patch) | |
| tree | 91ff4d813d5013260c04854a9ad24812ccdffa08 /src/WixToolset.Data/Tuples/ModuleIgnoreTableTuple.cs | |
| parent | 505fe69d85c90184cd37290ccb0120fec6074c20 (diff) | |
| download | wix-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/ModuleIgnoreTableTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/ModuleIgnoreTableTuple.cs | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/WixToolset.Data/Tuples/ModuleIgnoreTableTuple.cs b/src/WixToolset.Data/Tuples/ModuleIgnoreTableTuple.cs index d4262448..efcf0f79 100644 --- a/src/WixToolset.Data/Tuples/ModuleIgnoreTableTuple.cs +++ b/src/WixToolset.Data/Tuples/ModuleIgnoreTableTuple.cs | |||
| @@ -8,10 +8,7 @@ namespace WixToolset.Data | |||
| 8 | { | 8 | { |
| 9 | public static readonly IntermediateTupleDefinition ModuleIgnoreTable = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateTupleDefinition ModuleIgnoreTable = new IntermediateTupleDefinition( |
| 10 | TupleDefinitionType.ModuleIgnoreTable, | 10 | TupleDefinitionType.ModuleIgnoreTable, |
| 11 | new[] | 11 | new IntermediateFieldDefinition[0], |
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ModuleIgnoreTableTupleFields.Table), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(ModuleIgnoreTableTuple)); | 12 | typeof(ModuleIgnoreTableTuple)); |
| 16 | } | 13 | } |
| 17 | } | 14 | } |
| @@ -20,7 +17,6 @@ namespace WixToolset.Data.Tuples | |||
| 20 | { | 17 | { |
| 21 | public enum ModuleIgnoreTableTupleFields | 18 | public enum ModuleIgnoreTableTupleFields |
| 22 | { | 19 | { |
| 23 | Table, | ||
| 24 | } | 20 | } |
| 25 | 21 | ||
| 26 | public class ModuleIgnoreTableTuple : IntermediateTuple | 22 | public class ModuleIgnoreTableTuple : IntermediateTuple |
| @@ -34,11 +30,5 @@ namespace WixToolset.Data.Tuples | |||
| 34 | } | 30 | } |
| 35 | 31 | ||
| 36 | public IntermediateField this[ModuleIgnoreTableTupleFields index] => this.Fields[(int)index]; | 32 | public IntermediateField this[ModuleIgnoreTableTupleFields index] => this.Fields[(int)index]; |
| 37 | 33 | } | |
| 38 | public string Table | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)ModuleIgnoreTableTupleFields.Table]; | ||
| 41 | set => this.Set((int)ModuleIgnoreTableTupleFields.Table, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | 34 | } \ No newline at end of file |
