aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/DialogTuple.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-05-16 12:18:36 -0700
committerRob Mensching <rob@firegiant.com>2019-05-23 15:43:40 -0700
commit505fe69d85c90184cd37290ccb0120fec6074c20 (patch)
tree685314724a00232c2cad02e73c88214bee25df4f /src/WixToolset.Data/Tuples/DialogTuple.cs
parentac1400ac5502db2f975e94dc803c155fd6a0a0e0 (diff)
downloadwix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.gz
wix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.bz2
wix-505fe69d85c90184cd37290ccb0120fec6074c20.zip
Remove redundant `?.Value` from strongly typed accesses
Diffstat (limited to 'src/WixToolset.Data/Tuples/DialogTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/DialogTuple.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/WixToolset.Data/Tuples/DialogTuple.cs b/src/WixToolset.Data/Tuples/DialogTuple.cs
index d66c3b19..bc803d68 100644
--- a/src/WixToolset.Data/Tuples/DialogTuple.cs
+++ b/src/WixToolset.Data/Tuples/DialogTuple.cs
@@ -73,25 +73,25 @@ namespace WixToolset.Data.Tuples
73 73
74 public int HCentering 74 public int HCentering
75 { 75 {
76 get => (int)this.Fields[(int)DialogTupleFields.HCentering]?.Value; 76 get => (int)this.Fields[(int)DialogTupleFields.HCentering];
77 set => this.Set((int)DialogTupleFields.HCentering, value); 77 set => this.Set((int)DialogTupleFields.HCentering, value);
78 } 78 }
79 79
80 public int VCentering 80 public int VCentering
81 { 81 {
82 get => (int)this.Fields[(int)DialogTupleFields.VCentering]?.Value; 82 get => (int)this.Fields[(int)DialogTupleFields.VCentering];
83 set => this.Set((int)DialogTupleFields.VCentering, value); 83 set => this.Set((int)DialogTupleFields.VCentering, value);
84 } 84 }
85 85
86 public int Width 86 public int Width
87 { 87 {
88 get => (int)this.Fields[(int)DialogTupleFields.Width]?.Value; 88 get => (int)this.Fields[(int)DialogTupleFields.Width];
89 set => this.Set((int)DialogTupleFields.Width, value); 89 set => this.Set((int)DialogTupleFields.Width, value);
90 } 90 }
91 91
92 public int Height 92 public int Height
93 { 93 {
94 get => (int)this.Fields[(int)DialogTupleFields.Height]?.Value; 94 get => (int)this.Fields[(int)DialogTupleFields.Height];
95 set => this.Set((int)DialogTupleFields.Height, value); 95 set => this.Set((int)DialogTupleFields.Height, value);
96 } 96 }
97 97
@@ -163,25 +163,25 @@ namespace WixToolset.Data.Tuples
163 163
164 public string Title 164 public string Title
165 { 165 {
166 get => (string)this.Fields[(int)DialogTupleFields.Title]?.Value; 166 get => (string)this.Fields[(int)DialogTupleFields.Title];
167 set => this.Set((int)DialogTupleFields.Title, value); 167 set => this.Set((int)DialogTupleFields.Title, value);
168 } 168 }
169 169
170 public string Control_First 170 public string Control_First
171 { 171 {
172 get => (string)this.Fields[(int)DialogTupleFields.Control_First]?.Value; 172 get => (string)this.Fields[(int)DialogTupleFields.Control_First];
173 set => this.Set((int)DialogTupleFields.Control_First, value); 173 set => this.Set((int)DialogTupleFields.Control_First, value);
174 } 174 }
175 175
176 public string Control_Default 176 public string Control_Default
177 { 177 {
178 get => (string)this.Fields[(int)DialogTupleFields.Control_Default]?.Value; 178 get => (string)this.Fields[(int)DialogTupleFields.Control_Default];
179 set => this.Set((int)DialogTupleFields.Control_Default, value); 179 set => this.Set((int)DialogTupleFields.Control_Default, value);
180 } 180 }
181 181
182 public string Control_Cancel 182 public string Control_Cancel
183 { 183 {
184 get => (string)this.Fields[(int)DialogTupleFields.Control_Cancel]?.Value; 184 get => (string)this.Fields[(int)DialogTupleFields.Control_Cancel];
185 set => this.Set((int)DialogTupleFields.Control_Cancel, value); 185 set => this.Set((int)DialogTupleFields.Control_Cancel, value);
186 } 186 }
187 } 187 }