File tree 6 files changed +33
-33
lines changed
6 files changed +33
-33
lines changed Original file line number Diff line number Diff line change @@ -245,21 +245,21 @@ public Values(IEnumerable<object?> items)
245
245
}
246
246
}
247
247
248
- this . HasValue1 = items1 ? . Count > 0 ;
249
- this . HasValue2 = items2 ? . Count > 0 ;
250
- this . HasValue3 = items3 ? . Count > 0 ;
251
- this . HasValue4 = items4 ? . Count > 0 ;
252
- this . HasValue5 = items5 ? . Count > 0 ;
253
- this . HasValue6 = items6 ? . Count > 0 ;
254
- this . HasValue7 = items7 ? . Count > 0 ;
255
-
256
248
this . Value1 = items1 == null ? default : ( OneOrMany < T1 > ) items1 ;
257
249
this . Value2 = items2 == null ? default : ( OneOrMany < T2 > ) items2 ;
258
250
this . Value3 = items3 == null ? default : ( OneOrMany < T3 > ) items3 ;
259
251
this . Value4 = items4 == null ? default : ( OneOrMany < T4 > ) items4 ;
260
252
this . Value5 = items5 == null ? default : ( OneOrMany < T5 > ) items5 ;
261
253
this . Value6 = items6 == null ? default : ( OneOrMany < T6 > ) items6 ;
262
254
this . Value7 = items7 == null ? default : ( OneOrMany < T7 > ) items7 ;
255
+
256
+ this . HasValue1 = this . Value1 . Count > 0 ;
257
+ this . HasValue2 = this . Value2 . Count > 0 ;
258
+ this . HasValue3 = this . Value3 . Count > 0 ;
259
+ this . HasValue4 = this . Value4 . Count > 0 ;
260
+ this . HasValue5 = this . Value5 . Count > 0 ;
261
+ this . HasValue6 = this . Value6 . Count > 0 ;
262
+ this . HasValue7 = this . Value7 . Count > 0 ;
263
263
}
264
264
265
265
/// <summary>
Original file line number Diff line number Diff line change @@ -204,19 +204,19 @@ public Values(IEnumerable<object?> items)
204
204
}
205
205
}
206
206
207
- this . HasValue1 = items1 ? . Count > 0 ;
208
- this . HasValue2 = items2 ? . Count > 0 ;
209
- this . HasValue3 = items3 ? . Count > 0 ;
210
- this . HasValue4 = items4 ? . Count > 0 ;
211
- this . HasValue5 = items5 ? . Count > 0 ;
212
- this . HasValue6 = items6 ? . Count > 0 ;
213
-
214
207
this . Value1 = items1 == null ? default : ( OneOrMany < T1 > ) items1 ;
215
208
this . Value2 = items2 == null ? default : ( OneOrMany < T2 > ) items2 ;
216
209
this . Value3 = items3 == null ? default : ( OneOrMany < T3 > ) items3 ;
217
210
this . Value4 = items4 == null ? default : ( OneOrMany < T4 > ) items4 ;
218
211
this . Value5 = items5 == null ? default : ( OneOrMany < T5 > ) items5 ;
219
212
this . Value6 = items6 == null ? default : ( OneOrMany < T6 > ) items6 ;
213
+
214
+ this . HasValue1 = this . Value1 . Count > 0 ;
215
+ this . HasValue2 = this . Value2 . Count > 0 ;
216
+ this . HasValue3 = this . Value3 . Count > 0 ;
217
+ this . HasValue4 = this . Value4 . Count > 0 ;
218
+ this . HasValue5 = this . Value5 . Count > 0 ;
219
+ this . HasValue6 = this . Value6 . Count > 0 ;
220
220
}
221
221
222
222
/// <summary>
Original file line number Diff line number Diff line change @@ -167,17 +167,17 @@ public Values(IEnumerable<object?> items)
167
167
}
168
168
}
169
169
170
- this . HasValue1 = items1 ? . Count > 0 ;
171
- this . HasValue2 = items2 ? . Count > 0 ;
172
- this . HasValue3 = items3 ? . Count > 0 ;
173
- this . HasValue4 = items4 ? . Count > 0 ;
174
- this . HasValue5 = items5 ? . Count > 0 ;
175
-
176
170
this . Value1 = items1 == null ? default : ( OneOrMany < T1 > ) items1 ;
177
171
this . Value2 = items2 == null ? default : ( OneOrMany < T2 > ) items2 ;
178
172
this . Value3 = items3 == null ? default : ( OneOrMany < T3 > ) items3 ;
179
173
this . Value4 = items4 == null ? default : ( OneOrMany < T4 > ) items4 ;
180
174
this . Value5 = items5 == null ? default : ( OneOrMany < T5 > ) items5 ;
175
+
176
+ this . HasValue1 = this . Value1 . Count > 0 ;
177
+ this . HasValue2 = this . Value2 . Count > 0 ;
178
+ this . HasValue3 = this . Value3 . Count > 0 ;
179
+ this . HasValue4 = this . Value4 . Count > 0 ;
180
+ this . HasValue5 = this . Value5 . Count > 0 ;
181
181
}
182
182
183
183
/// <summary>
Original file line number Diff line number Diff line change @@ -134,15 +134,15 @@ public Values(IEnumerable<object?> items)
134
134
}
135
135
}
136
136
137
- this . HasValue1 = items1 ? . Count > 0 ;
138
- this . HasValue2 = items2 ? . Count > 0 ;
139
- this . HasValue3 = items3 ? . Count > 0 ;
140
- this . HasValue4 = items4 ? . Count > 0 ;
141
-
142
137
this . Value1 = items1 == null ? default : ( OneOrMany < T1 > ) items1 ;
143
138
this . Value2 = items2 == null ? default : ( OneOrMany < T2 > ) items2 ;
144
139
this . Value3 = items3 == null ? default : ( OneOrMany < T3 > ) items3 ;
145
140
this . Value4 = items4 == null ? default : ( OneOrMany < T4 > ) items4 ;
141
+
142
+ this . HasValue1 = this . Value1 . Count > 0 ;
143
+ this . HasValue2 = this . Value2 . Count > 0 ;
144
+ this . HasValue3 = this . Value3 . Count > 0 ;
145
+ this . HasValue4 = this . Value4 . Count > 0 ;
146
146
}
147
147
148
148
/// <summary>
Original file line number Diff line number Diff line change @@ -105,13 +105,13 @@ public Values(IEnumerable<object> items)
105
105
}
106
106
}
107
107
108
- this . HasValue1 = items1 ? . Count > 0 ;
109
- this . HasValue2 = items2 ? . Count > 0 ;
110
- this . HasValue3 = items3 ? . Count > 0 ;
111
-
112
108
this . Value1 = items1 == null ? default : ( OneOrMany < T1 > ) items1 ;
113
109
this . Value2 = items2 == null ? default : ( OneOrMany < T2 > ) items2 ;
114
110
this . Value3 = items3 == null ? default : ( OneOrMany < T3 > ) items3 ;
111
+
112
+ this . HasValue1 = this . Value1 . Count > 0 ;
113
+ this . HasValue2 = this . Value2 . Count > 0 ;
114
+ this . HasValue3 = this . Value3 . Count > 0 ;
115
115
}
116
116
117
117
/// <summary>
Original file line number Diff line number Diff line change @@ -80,11 +80,11 @@ public Values(IEnumerable<object?> items)
80
80
}
81
81
}
82
82
83
- this . HasValue1 = items1 ? . Count > 0 ;
84
- this . HasValue2 = items2 ? . Count > 0 ;
85
-
86
83
this . Value1 = items1 == null ? default : ( OneOrMany < T1 > ) items1 ;
87
84
this . Value2 = items2 == null ? default : ( OneOrMany < T2 > ) items2 ;
85
+
86
+ this . HasValue1 = this . Value1 . Count > 0 ;
87
+ this . HasValue2 = this . Value2 . Count > 0 ;
88
88
}
89
89
90
90
/// <summary>
You can’t perform that action at this time.
0 commit comments