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/WixBootstrapperApplicationTuple.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/WixBootstrapperApplicationTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/WixBootstrapperApplicationTuple.cs | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/WixToolset.Data/Tuples/WixBootstrapperApplicationTuple.cs b/src/WixToolset.Data/Tuples/WixBootstrapperApplicationTuple.cs index e80d6321..e3c1490f 100644 --- a/src/WixToolset.Data/Tuples/WixBootstrapperApplicationTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBootstrapperApplicationTuple.cs | |||
| @@ -8,10 +8,7 @@ namespace WixToolset.Data | |||
| 8 | { | 8 | { |
| 9 | public static readonly IntermediateTupleDefinition WixBootstrapperApplication = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateTupleDefinition WixBootstrapperApplication = new IntermediateTupleDefinition( |
| 10 | TupleDefinitionType.WixBootstrapperApplication, | 10 | TupleDefinitionType.WixBootstrapperApplication, |
| 11 | new[] | 11 | new IntermediateFieldDefinition[0], |
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBootstrapperApplicationTupleFields.Id), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixBootstrapperApplicationTuple)); | 12 | typeof(WixBootstrapperApplicationTuple)); |
| 16 | } | 13 | } |
| 17 | } | 14 | } |
| @@ -20,7 +17,6 @@ namespace WixToolset.Data.Tuples | |||
| 20 | { | 17 | { |
| 21 | public enum WixBootstrapperApplicationTupleFields | 18 | public enum WixBootstrapperApplicationTupleFields |
| 22 | { | 19 | { |
| 23 | Id, | ||
| 24 | } | 20 | } |
| 25 | 21 | ||
| 26 | public class WixBootstrapperApplicationTuple : IntermediateTuple | 22 | public class WixBootstrapperApplicationTuple : IntermediateTuple |
| @@ -34,11 +30,5 @@ namespace WixToolset.Data.Tuples | |||
| 34 | } | 30 | } |
| 35 | 31 | ||
| 36 | public IntermediateField this[WixBootstrapperApplicationTupleFields index] => this.Fields[(int)index]; | 32 | public IntermediateField this[WixBootstrapperApplicationTupleFields index] => this.Fields[(int)index]; |
| 37 | 33 | } | |
| 38 | public string Id | 34 | } |
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixBootstrapperApplicationTupleFields.Id]; | ||
| 41 | set => this.Set((int)WixBootstrapperApplicationTupleFields.Id, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
