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/WixBundleTuple.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/WixBundleTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/WixBundleTuple.cs | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/WixToolset.Data/Tuples/WixBundleTuple.cs b/src/WixToolset.Data/Tuples/WixBundleTuple.cs index 4647347b..f7cd4f23 100644 --- a/src/WixToolset.Data/Tuples/WixBundleTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleTuple.cs | |||
| @@ -81,139 +81,139 @@ namespace WixToolset.Data.Tuples | |||
| 81 | 81 | ||
| 82 | public string Version | 82 | public string Version |
| 83 | { | 83 | { |
| 84 | get => (string)this.Fields[(int)WixBundleTupleFields.Version]?.Value; | 84 | get => (string)this.Fields[(int)WixBundleTupleFields.Version]; |
| 85 | set => this.Set((int)WixBundleTupleFields.Version, value); | 85 | set => this.Set((int)WixBundleTupleFields.Version, value); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | public string Copyright | 88 | public string Copyright |
| 89 | { | 89 | { |
| 90 | get => (string)this.Fields[(int)WixBundleTupleFields.Copyright]?.Value; | 90 | get => (string)this.Fields[(int)WixBundleTupleFields.Copyright]; |
| 91 | set => this.Set((int)WixBundleTupleFields.Copyright, value); | 91 | set => this.Set((int)WixBundleTupleFields.Copyright, value); |
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | public string Name | 94 | public string Name |
| 95 | { | 95 | { |
| 96 | get => (string)this.Fields[(int)WixBundleTupleFields.Name]?.Value; | 96 | get => (string)this.Fields[(int)WixBundleTupleFields.Name]; |
| 97 | set => this.Set((int)WixBundleTupleFields.Name, value); | 97 | set => this.Set((int)WixBundleTupleFields.Name, value); |
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | public string AboutUrl | 100 | public string AboutUrl |
| 101 | { | 101 | { |
| 102 | get => (string)this.Fields[(int)WixBundleTupleFields.AboutUrl]?.Value; | 102 | get => (string)this.Fields[(int)WixBundleTupleFields.AboutUrl]; |
| 103 | set => this.Set((int)WixBundleTupleFields.AboutUrl, value); | 103 | set => this.Set((int)WixBundleTupleFields.AboutUrl, value); |
| 104 | } | 104 | } |
| 105 | 105 | ||
| 106 | public int DisableModify | 106 | public int DisableModify |
| 107 | { | 107 | { |
| 108 | get => (int)this.Fields[(int)WixBundleTupleFields.DisableModify]?.Value; | 108 | get => (int)this.Fields[(int)WixBundleTupleFields.DisableModify]; |
| 109 | set => this.Set((int)WixBundleTupleFields.DisableModify, value); | 109 | set => this.Set((int)WixBundleTupleFields.DisableModify, value); |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | public int DisableRemove | 112 | public int DisableRemove |
| 113 | { | 113 | { |
| 114 | get => (int)this.Fields[(int)WixBundleTupleFields.DisableRemove]?.Value; | 114 | get => (int)this.Fields[(int)WixBundleTupleFields.DisableRemove]; |
| 115 | set => this.Set((int)WixBundleTupleFields.DisableRemove, value); | 115 | set => this.Set((int)WixBundleTupleFields.DisableRemove, value); |
| 116 | } | 116 | } |
| 117 | 117 | ||
| 118 | public int DisableRepair | 118 | public int DisableRepair |
| 119 | { | 119 | { |
| 120 | get => (int)this.Fields[(int)WixBundleTupleFields.DisableRepair]?.Value; | 120 | get => (int)this.Fields[(int)WixBundleTupleFields.DisableRepair]; |
| 121 | set => this.Set((int)WixBundleTupleFields.DisableRepair, value); | 121 | set => this.Set((int)WixBundleTupleFields.DisableRepair, value); |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | public string HelpTelephone | 124 | public string HelpTelephone |
| 125 | { | 125 | { |
| 126 | get => (string)this.Fields[(int)WixBundleTupleFields.HelpTelephone]?.Value; | 126 | get => (string)this.Fields[(int)WixBundleTupleFields.HelpTelephone]; |
| 127 | set => this.Set((int)WixBundleTupleFields.HelpTelephone, value); | 127 | set => this.Set((int)WixBundleTupleFields.HelpTelephone, value); |
| 128 | } | 128 | } |
| 129 | 129 | ||
| 130 | public string HelpUrl | 130 | public string HelpUrl |
| 131 | { | 131 | { |
| 132 | get => (string)this.Fields[(int)WixBundleTupleFields.HelpUrl]?.Value; | 132 | get => (string)this.Fields[(int)WixBundleTupleFields.HelpUrl]; |
| 133 | set => this.Set((int)WixBundleTupleFields.HelpUrl, value); | 133 | set => this.Set((int)WixBundleTupleFields.HelpUrl, value); |
| 134 | } | 134 | } |
| 135 | 135 | ||
| 136 | public string Manufacturer | 136 | public string Manufacturer |
| 137 | { | 137 | { |
| 138 | get => (string)this.Fields[(int)WixBundleTupleFields.Manufacturer]?.Value; | 138 | get => (string)this.Fields[(int)WixBundleTupleFields.Manufacturer]; |
| 139 | set => this.Set((int)WixBundleTupleFields.Manufacturer, value); | 139 | set => this.Set((int)WixBundleTupleFields.Manufacturer, value); |
| 140 | } | 140 | } |
| 141 | 141 | ||
| 142 | public string UpdateUrl | 142 | public string UpdateUrl |
| 143 | { | 143 | { |
| 144 | get => (string)this.Fields[(int)WixBundleTupleFields.UpdateUrl]?.Value; | 144 | get => (string)this.Fields[(int)WixBundleTupleFields.UpdateUrl]; |
| 145 | set => this.Set((int)WixBundleTupleFields.UpdateUrl, value); | 145 | set => this.Set((int)WixBundleTupleFields.UpdateUrl, value); |
| 146 | } | 146 | } |
| 147 | 147 | ||
| 148 | public int Compressed | 148 | public int Compressed |
| 149 | { | 149 | { |
| 150 | get => (int)this.Fields[(int)WixBundleTupleFields.Compressed]?.Value; | 150 | get => (int)this.Fields[(int)WixBundleTupleFields.Compressed]; |
| 151 | set => this.Set((int)WixBundleTupleFields.Compressed, value); | 151 | set => this.Set((int)WixBundleTupleFields.Compressed, value); |
| 152 | } | 152 | } |
| 153 | 153 | ||
| 154 | public string LogPrefixAndExtension | 154 | public string LogPrefixAndExtension |
| 155 | { | 155 | { |
| 156 | get => (string)this.Fields[(int)WixBundleTupleFields.LogPrefixAndExtension]?.Value; | 156 | get => (string)this.Fields[(int)WixBundleTupleFields.LogPrefixAndExtension]; |
| 157 | set => this.Set((int)WixBundleTupleFields.LogPrefixAndExtension, value); | 157 | set => this.Set((int)WixBundleTupleFields.LogPrefixAndExtension, value); |
| 158 | } | 158 | } |
| 159 | 159 | ||
| 160 | public string IconSourceFile | 160 | public string IconSourceFile |
| 161 | { | 161 | { |
| 162 | get => (string)this.Fields[(int)WixBundleTupleFields.IconSourceFile]?.Value; | 162 | get => (string)this.Fields[(int)WixBundleTupleFields.IconSourceFile]; |
| 163 | set => this.Set((int)WixBundleTupleFields.IconSourceFile, value); | 163 | set => this.Set((int)WixBundleTupleFields.IconSourceFile, value); |
| 164 | } | 164 | } |
| 165 | 165 | ||
| 166 | public string SplashScreenSourceFile | 166 | public string SplashScreenSourceFile |
| 167 | { | 167 | { |
| 168 | get => (string)this.Fields[(int)WixBundleTupleFields.SplashScreenSourceFile]?.Value; | 168 | get => (string)this.Fields[(int)WixBundleTupleFields.SplashScreenSourceFile]; |
| 169 | set => this.Set((int)WixBundleTupleFields.SplashScreenSourceFile, value); | 169 | set => this.Set((int)WixBundleTupleFields.SplashScreenSourceFile, value); |
| 170 | } | 170 | } |
| 171 | 171 | ||
| 172 | public string Condition | 172 | public string Condition |
| 173 | { | 173 | { |
| 174 | get => (string)this.Fields[(int)WixBundleTupleFields.Condition]?.Value; | 174 | get => (string)this.Fields[(int)WixBundleTupleFields.Condition]; |
| 175 | set => this.Set((int)WixBundleTupleFields.Condition, value); | 175 | set => this.Set((int)WixBundleTupleFields.Condition, value); |
| 176 | } | 176 | } |
| 177 | 177 | ||
| 178 | public string Tag | 178 | public string Tag |
| 179 | { | 179 | { |
| 180 | get => (string)this.Fields[(int)WixBundleTupleFields.Tag]?.Value; | 180 | get => (string)this.Fields[(int)WixBundleTupleFields.Tag]; |
| 181 | set => this.Set((int)WixBundleTupleFields.Tag, value); | 181 | set => this.Set((int)WixBundleTupleFields.Tag, value); |
| 182 | } | 182 | } |
| 183 | 183 | ||
| 184 | public string Platform | 184 | public string Platform |
| 185 | { | 185 | { |
| 186 | get => (string)this.Fields[(int)WixBundleTupleFields.Platform]?.Value; | 186 | get => (string)this.Fields[(int)WixBundleTupleFields.Platform]; |
| 187 | set => this.Set((int)WixBundleTupleFields.Platform, value); | 187 | set => this.Set((int)WixBundleTupleFields.Platform, value); |
| 188 | } | 188 | } |
| 189 | 189 | ||
| 190 | public string ParentName | 190 | public string ParentName |
| 191 | { | 191 | { |
| 192 | get => (string)this.Fields[(int)WixBundleTupleFields.ParentName]?.Value; | 192 | get => (string)this.Fields[(int)WixBundleTupleFields.ParentName]; |
| 193 | set => this.Set((int)WixBundleTupleFields.ParentName, value); | 193 | set => this.Set((int)WixBundleTupleFields.ParentName, value); |
| 194 | } | 194 | } |
| 195 | 195 | ||
| 196 | public string UpgradeCode | 196 | public string UpgradeCode |
| 197 | { | 197 | { |
| 198 | get => (string)this.Fields[(int)WixBundleTupleFields.UpgradeCode]?.Value; | 198 | get => (string)this.Fields[(int)WixBundleTupleFields.UpgradeCode]; |
| 199 | set => this.Set((int)WixBundleTupleFields.UpgradeCode, value); | 199 | set => this.Set((int)WixBundleTupleFields.UpgradeCode, value); |
| 200 | } | 200 | } |
| 201 | 201 | ||
| 202 | public string BundleId | 202 | public string BundleId |
| 203 | { | 203 | { |
| 204 | get => (string)this.Fields[(int)WixBundleTupleFields.BundleId]?.Value; | 204 | get => (string)this.Fields[(int)WixBundleTupleFields.BundleId]; |
| 205 | set => this.Set((int)WixBundleTupleFields.BundleId, value); | 205 | set => this.Set((int)WixBundleTupleFields.BundleId, value); |
| 206 | } | 206 | } |
| 207 | 207 | ||
| 208 | public string ProviderKey | 208 | public string ProviderKey |
| 209 | { | 209 | { |
| 210 | get => (string)this.Fields[(int)WixBundleTupleFields.ProviderKey]?.Value; | 210 | get => (string)this.Fields[(int)WixBundleTupleFields.ProviderKey]; |
| 211 | set => this.Set((int)WixBundleTupleFields.ProviderKey, value); | 211 | set => this.Set((int)WixBundleTupleFields.ProviderKey, value); |
| 212 | } | 212 | } |
| 213 | 213 | ||
| 214 | public int PerMachine | 214 | public int PerMachine |
| 215 | { | 215 | { |
| 216 | get => (int)this.Fields[(int)WixBundleTupleFields.PerMachine]?.Value; | 216 | get => (int)this.Fields[(int)WixBundleTupleFields.PerMachine]; |
| 217 | set => this.Set((int)WixBundleTupleFields.PerMachine, value); | 217 | set => this.Set((int)WixBundleTupleFields.PerMachine, value); |
| 218 | } | 218 | } |
| 219 | } | 219 | } |
