diff options
author | Rob Mensching <rob@firegiant.com> | 2019-05-16 12:18:36 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2019-05-23 15:43:40 -0700 |
commit | 505fe69d85c90184cd37290ccb0120fec6074c20 (patch) | |
tree | 685314724a00232c2cad02e73c88214bee25df4f /src/WixToolset.Data/Tuples/ServiceControlTuple.cs | |
parent | ac1400ac5502db2f975e94dc803c155fd6a0a0e0 (diff) | |
download | wix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.gz wix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.bz2 wix-505fe69d85c90184cd37290ccb0120fec6074c20.zip |
Remove redundant `?.Value` from strongly typed accesses
Diffstat (limited to 'src/WixToolset.Data/Tuples/ServiceControlTuple.cs')
-rw-r--r-- | src/WixToolset.Data/Tuples/ServiceControlTuple.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WixToolset.Data/Tuples/ServiceControlTuple.cs b/src/WixToolset.Data/Tuples/ServiceControlTuple.cs index 844ee864..6d57120a 100644 --- a/src/WixToolset.Data/Tuples/ServiceControlTuple.cs +++ b/src/WixToolset.Data/Tuples/ServiceControlTuple.cs | |||
@@ -57,13 +57,13 @@ namespace WixToolset.Data.Tuples | |||
57 | 57 | ||
58 | public string ServiceControl | 58 | public string ServiceControl |
59 | { | 59 | { |
60 | get => (string)this.Fields[(int)ServiceControlTupleFields.ServiceControl]?.Value; | 60 | get => (string)this.Fields[(int)ServiceControlTupleFields.ServiceControl]; |
61 | set => this.Set((int)ServiceControlTupleFields.ServiceControl, value); | 61 | set => this.Set((int)ServiceControlTupleFields.ServiceControl, value); |
62 | } | 62 | } |
63 | 63 | ||
64 | public string Name | 64 | public string Name |
65 | { | 65 | { |
66 | get => (string)this.Fields[(int)ServiceControlTupleFields.Name]?.Value; | 66 | get => (string)this.Fields[(int)ServiceControlTupleFields.Name]; |
67 | set => this.Set((int)ServiceControlTupleFields.Name, value); | 67 | set => this.Set((int)ServiceControlTupleFields.Name, value); |
68 | } | 68 | } |
69 | 69 | ||
@@ -105,7 +105,7 @@ namespace WixToolset.Data.Tuples | |||
105 | 105 | ||
106 | public string Arguments | 106 | public string Arguments |
107 | { | 107 | { |
108 | get => (string)this.Fields[(int)ServiceControlTupleFields.Arguments]?.Value; | 108 | get => (string)this.Fields[(int)ServiceControlTupleFields.Arguments]; |
109 | set => this.Set((int)ServiceControlTupleFields.Arguments, value); | 109 | set => this.Set((int)ServiceControlTupleFields.Arguments, value); |
110 | } | 110 | } |
111 | 111 | ||
@@ -117,7 +117,7 @@ namespace WixToolset.Data.Tuples | |||
117 | 117 | ||
118 | public string Component_ | 118 | public string Component_ |
119 | { | 119 | { |
120 | get => (string)this.Fields[(int)ServiceControlTupleFields.Component_]?.Value; | 120 | get => (string)this.Fields[(int)ServiceControlTupleFields.Component_]; |
121 | set => this.Set((int)ServiceControlTupleFields.Component_, value); | 121 | set => this.Set((int)ServiceControlTupleFields.Component_, value); |
122 | } | 122 | } |
123 | } | 123 | } |