@@ -35,8 +35,8 @@ public ConfigureNamedOptions(string name, Action<TOptions> action)
35
35
/// <summary>
36
36
/// Invokes the registered configure Action if the name matches.
37
37
/// </summary>
38
- /// <param name="name"></param>
39
- /// <param name="options"></param>
38
+ /// <param name="name">The name of the options instance being configured. </param>
39
+ /// <param name="options">The options instance to configure. </param>
40
40
public virtual void Configure ( string name , TOptions options )
41
41
{
42
42
if ( options == null )
@@ -51,6 +51,10 @@ public virtual void Configure(string name, TOptions options)
51
51
}
52
52
}
53
53
54
+ /// <summary>
55
+ /// Invoked to configure a TOptions instance with the <see cref="Options.DefaultName"/>.
56
+ /// </summary>
57
+ /// <param name="options">The options instance to configure.</param>
54
58
public void Configure ( TOptions options ) => Configure ( Options . DefaultName , options ) ;
55
59
}
56
60
@@ -86,8 +90,16 @@ public ConfigureNamedOptions(string name, TDep dependency, Action<TOptions, TDep
86
90
/// </summary>
87
91
public Action < TOptions , TDep > Action { get ; }
88
92
93
+ /// <summary>
94
+ /// The dependency.
95
+ /// </summary>
89
96
public TDep Dependency { get ; }
90
97
98
+ /// <summary>
99
+ /// Invokes the registered configure Action if the name matches.
100
+ /// </summary>
101
+ /// <param name="name">The name of the options instance being configured.</param>
102
+ /// <param name="options">The options instance to configure.</param>
91
103
public virtual void Configure ( string name , TOptions options )
92
104
{
93
105
if ( options == null )
@@ -102,6 +114,10 @@ public virtual void Configure(string name, TOptions options)
102
114
}
103
115
}
104
116
117
+ /// <summary>
118
+ /// Invoked to configure a TOptions instance with the <see cref="Options.DefaultName"/>.
119
+ /// </summary>
120
+ /// <param name="options">The options instance to configure.</param>
105
121
public void Configure ( TOptions options ) => Configure ( Options . DefaultName , options ) ;
106
122
}
107
123
@@ -141,10 +157,21 @@ public ConfigureNamedOptions(string name, TDep1 dependency, TDep2 dependency2, A
141
157
/// </summary>
142
158
public Action < TOptions , TDep1 , TDep2 > Action { get ; }
143
159
160
+ /// <summary>
161
+ /// The first dependency.
162
+ /// </summary>
144
163
public TDep1 Dependency1 { get ; }
145
164
165
+ /// <summary>
166
+ /// The second dependency.
167
+ /// </summary>
146
168
public TDep2 Dependency2 { get ; }
147
169
170
+ /// <summary>
171
+ /// Invokes the registered configure Action if the name matches.
172
+ /// </summary>
173
+ /// <param name="name">The name of the options instance being configured.</param>
174
+ /// <param name="options">The options instance to configure.</param>
148
175
public virtual void Configure ( string name , TOptions options )
149
176
{
150
177
if ( options == null )
@@ -159,6 +186,10 @@ public virtual void Configure(string name, TOptions options)
159
186
}
160
187
}
161
188
189
+ /// <summary>
190
+ /// Invoked to configure a TOptions instance with the <see cref="Options.DefaultName"/>.
191
+ /// </summary>
192
+ /// <param name="options">The options instance to configure.</param>
162
193
public void Configure ( TOptions options ) => Configure ( Options . DefaultName , options ) ;
163
194
}
164
195
@@ -202,13 +233,26 @@ public ConfigureNamedOptions(string name, TDep1 dependency, TDep2 dependency2, T
202
233
/// </summary>
203
234
public Action < TOptions , TDep1 , TDep2 , TDep3 > Action { get ; }
204
235
236
+ /// <summary>
237
+ /// The first dependency.
238
+ /// </summary>
205
239
public TDep1 Dependency1 { get ; }
206
240
241
+ /// <summary>
242
+ /// The second dependency.
243
+ /// </summary>
207
244
public TDep2 Dependency2 { get ; }
208
245
246
+ /// <summary>
247
+ /// The third dependency.
248
+ /// </summary>
209
249
public TDep3 Dependency3 { get ; }
210
250
211
-
251
+ /// <summary>
252
+ /// Invokes the registered configure Action if the name matches.
253
+ /// </summary>
254
+ /// <param name="name">The name of the options instance being configured.</param>
255
+ /// <param name="options">The options instance to configure.</param>
212
256
public virtual void Configure ( string name , TOptions options )
213
257
{
214
258
if ( options == null )
@@ -223,6 +267,10 @@ public virtual void Configure(string name, TOptions options)
223
267
}
224
268
}
225
269
270
+ /// <summary>
271
+ /// Invoked to configure a TOptions instance with the <see cref="Options.DefaultName"/>.
272
+ /// </summary>
273
+ /// <param name="options">The options instance to configure.</param>
226
274
public void Configure ( TOptions options ) => Configure ( Options . DefaultName , options ) ;
227
275
}
228
276
@@ -270,15 +318,31 @@ public ConfigureNamedOptions(string name, TDep1 dependency1, TDep2 dependency2,
270
318
/// </summary>
271
319
public Action < TOptions , TDep1 , TDep2 , TDep3 , TDep4 > Action { get ; }
272
320
321
+ /// <summary>
322
+ /// The first dependency.
323
+ /// </summary>
273
324
public TDep1 Dependency1 { get ; }
274
325
326
+ /// <summary>
327
+ /// The second dependency.
328
+ /// </summary>
275
329
public TDep2 Dependency2 { get ; }
276
330
331
+ /// <summary>
332
+ /// The third dependency.
333
+ /// </summary>
277
334
public TDep3 Dependency3 { get ; }
278
335
336
+ /// <summary>
337
+ /// The fourth dependency.
338
+ /// </summary>
279
339
public TDep4 Dependency4 { get ; }
280
340
281
-
341
+ /// <summary>
342
+ /// Invokes the registered configure Action if the name matches.
343
+ /// </summary>
344
+ /// <param name="name">The name of the options instance being configured.</param>
345
+ /// <param name="options">The options instance to configure.</param>
282
346
public virtual void Configure ( string name , TOptions options )
283
347
{
284
348
if ( options == null )
@@ -293,6 +357,10 @@ public virtual void Configure(string name, TOptions options)
293
357
}
294
358
}
295
359
360
+ /// <summary>
361
+ /// Invoked to configure a TOptions instance with the <see cref="Options.DefaultName"/>.
362
+ /// </summary>
363
+ /// <param name="options">The options instance to configure.</param>
296
364
public void Configure ( TOptions options ) => Configure ( Options . DefaultName , options ) ;
297
365
}
298
366
@@ -344,17 +412,36 @@ public ConfigureNamedOptions(string name, TDep1 dependency1, TDep2 dependency2,
344
412
/// </summary>
345
413
public Action < TOptions , TDep1 , TDep2 , TDep3 , TDep4 , TDep5 > Action { get ; }
346
414
415
+ /// <summary>
416
+ /// The first dependency.
417
+ /// </summary>
347
418
public TDep1 Dependency1 { get ; }
348
419
420
+ /// <summary>
421
+ /// The second dependency.
422
+ /// </summary>
349
423
public TDep2 Dependency2 { get ; }
350
424
425
+ /// <summary>
426
+ /// The third dependency.
427
+ /// </summary>
351
428
public TDep3 Dependency3 { get ; }
352
429
430
+ /// <summary>
431
+ /// The fourth dependency.
432
+ /// </summary>
353
433
public TDep4 Dependency4 { get ; }
354
434
435
+ /// <summary>
436
+ /// The fifth dependency.
437
+ /// </summary>
355
438
public TDep5 Dependency5 { get ; }
356
439
357
-
440
+ /// <summary>
441
+ /// Invokes the registered configure Action if the name matches.
442
+ /// </summary>
443
+ /// <param name="name">The name of the options instance being configured.</param>
444
+ /// <param name="options">The options instance to configure.</param>
358
445
public virtual void Configure ( string name , TOptions options )
359
446
{
360
447
if ( options == null )
@@ -369,7 +456,10 @@ public virtual void Configure(string name, TOptions options)
369
456
}
370
457
}
371
458
459
+ /// <summary>
460
+ /// Invoked to configure a TOptions instance with the <see cref="Options.DefaultName"/>.
461
+ /// </summary>
462
+ /// <param name="options">The options instance to configure.</param>
372
463
public void Configure ( TOptions options ) => Configure ( Options . DefaultName , options ) ;
373
464
}
374
-
375
465
}
0 commit comments