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/ServiceInstallTuple.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/ServiceInstallTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/ServiceInstallTuple.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs b/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs index 987dccd7..a055e46e 100644 --- a/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs +++ b/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs | |||
| @@ -88,13 +88,13 @@ namespace WixToolset.Data.Tuples | |||
| 88 | 88 | ||
| 89 | public string Name | 89 | public string Name |
| 90 | { | 90 | { |
| 91 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Name]?.Value; | 91 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Name]; |
| 92 | set => this.Set((int)ServiceInstallTupleFields.Name, value); | 92 | set => this.Set((int)ServiceInstallTupleFields.Name, value); |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | public string DisplayName | 95 | public string DisplayName |
| 96 | { | 96 | { |
| 97 | get => (string)this.Fields[(int)ServiceInstallTupleFields.DisplayName]?.Value; | 97 | get => (string)this.Fields[(int)ServiceInstallTupleFields.DisplayName]; |
| 98 | set => this.Set((int)ServiceInstallTupleFields.DisplayName, value); | 98 | set => this.Set((int)ServiceInstallTupleFields.DisplayName, value); |
| 99 | } | 99 | } |
| 100 | 100 | ||
| @@ -118,43 +118,43 @@ namespace WixToolset.Data.Tuples | |||
| 118 | 118 | ||
| 119 | public string LoadOrderGroup | 119 | public string LoadOrderGroup |
| 120 | { | 120 | { |
| 121 | get => (string)this.Fields[(int)ServiceInstallTupleFields.LoadOrderGroup]?.Value; | 121 | get => (string)this.Fields[(int)ServiceInstallTupleFields.LoadOrderGroup]; |
| 122 | set => this.Set((int)ServiceInstallTupleFields.LoadOrderGroup, value); | 122 | set => this.Set((int)ServiceInstallTupleFields.LoadOrderGroup, value); |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | public string Dependencies | 125 | public string Dependencies |
| 126 | { | 126 | { |
| 127 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Dependencies]?.Value; | 127 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Dependencies]; |
| 128 | set => this.Set((int)ServiceInstallTupleFields.Dependencies, value); | 128 | set => this.Set((int)ServiceInstallTupleFields.Dependencies, value); |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | public string StartName | 131 | public string StartName |
| 132 | { | 132 | { |
| 133 | get => (string)this.Fields[(int)ServiceInstallTupleFields.StartName]?.Value; | 133 | get => (string)this.Fields[(int)ServiceInstallTupleFields.StartName]; |
| 134 | set => this.Set((int)ServiceInstallTupleFields.StartName, value); | 134 | set => this.Set((int)ServiceInstallTupleFields.StartName, value); |
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | public string Password | 137 | public string Password |
| 138 | { | 138 | { |
| 139 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Password]?.Value; | 139 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Password]; |
| 140 | set => this.Set((int)ServiceInstallTupleFields.Password, value); | 140 | set => this.Set((int)ServiceInstallTupleFields.Password, value); |
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | public string Arguments | 143 | public string Arguments |
| 144 | { | 144 | { |
| 145 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Arguments]?.Value; | 145 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Arguments]; |
| 146 | set => this.Set((int)ServiceInstallTupleFields.Arguments, value); | 146 | set => this.Set((int)ServiceInstallTupleFields.Arguments, value); |
| 147 | } | 147 | } |
| 148 | 148 | ||
| 149 | public string Component_ | 149 | public string Component_ |
| 150 | { | 150 | { |
| 151 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Component_]?.Value; | 151 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Component_]; |
| 152 | set => this.Set((int)ServiceInstallTupleFields.Component_, value); | 152 | set => this.Set((int)ServiceInstallTupleFields.Component_, value); |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | public string Description | 155 | public string Description |
| 156 | { | 156 | { |
| 157 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Description]?.Value; | 157 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Description]; |
| 158 | set => this.Set((int)ServiceInstallTupleFields.Description, value); | 158 | set => this.Set((int)ServiceInstallTupleFields.Description, value); |
| 159 | } | 159 | } |
| 160 | 160 | ||
