-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Copy pathHealthChecksBuilderAddCheckExtensions.xml
494 lines (494 loc) · 47.8 KB
/
HealthChecksBuilderAddCheckExtensions.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
<Type Name="HealthChecksBuilderAddCheckExtensions" FullName="Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions">
<TypeSignature Language="C#" Value="public static class HealthChecksBuilderAddCheckExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit HealthChecksBuilderAddCheckExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module HealthChecksBuilderAddCheckExtensions" />
<TypeSignature Language="F#" Value="type HealthChecksBuilderAddCheckExtensions = class" />
<TypeSignature Language="C++ CLI" Value="public ref class HealthChecksBuilderAddCheckExtensions abstract sealed" />
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Diagnostics.HealthChecks</AssemblyName>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
Provides basic extension methods for registering <see cref="T:Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck" /> instances in an <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="AddCheck">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck instance, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable<string> tags);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddCheck(class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, class Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck instance, valuetype System.Nullable`1<valuetype Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> failureStatus, class System.Collections.Generic.IEnumerable`1<string> tags) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddCheck(Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder,System.String,Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck,System.Nullable{Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus},System.Collections.Generic.IEnumerable{System.String})" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddCheck (builder As IHealthChecksBuilder, name As String, instance As IHealthCheck, failureStatus As Nullable(Of HealthStatus), tags As IEnumerable(Of String)) As IHealthChecksBuilder" />
<MemberSignature Language="F#" Value="static member AddCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string * Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" Usage="Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddCheck (builder, name, instance, failureStatus, tags)" />
<MemberSignature Language="C++ CLI" Value="public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, System::String ^ name, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck ^ instance, Nullable<Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus> failureStatus, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Diagnostics.HealthChecks</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="builder" Type="Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" RefType="this" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="instance" Type="Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck" />
<Parameter Name="failureStatus" Type="System.Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus>" />
<Parameter Name="tags" Type="System.Collections.Generic.IEnumerable<System.String>" />
</Parameters>
<Docs>
<param name="builder">The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</param>
<param name="name">The name of the health check.</param>
<param name="instance">An <see cref="T:Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck" /> instance.</param>
<param name="failureStatus">
The <see cref="T:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus" /> that should be reported when the health check reports a failure. If the provided value
is <c>null</c>, then <see cref="F:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus.Unhealthy" /> will be reported.
</param>
<param name="tags">A list of tags that can be used to filter health checks.</param>
<summary>
Adds a new health check with the specified name and implementation.
</summary>
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddCheck">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck instance, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus = default, System.Collections.Generic.IEnumerable<string>? tags = default, TimeSpan? timeout = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddCheck(class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, class Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck instance, valuetype System.Nullable`1<valuetype Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> failureStatus, class System.Collections.Generic.IEnumerable`1<string> tags, valuetype System.Nullable`1<valuetype System.TimeSpan> timeout) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddCheck(Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder,System.String,Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck,System.Nullable{Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus},System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.TimeSpan})" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddCheck (builder As IHealthChecksBuilder, name As String, instance As IHealthCheck, Optional failureStatus As Nullable(Of HealthStatus) = Nothing, Optional tags As IEnumerable(Of String) = Nothing, Optional timeout As Nullable(Of TimeSpan) = Nothing) As IHealthChecksBuilder" />
<MemberSignature Language="F#" Value="static member AddCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string * Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> * Nullable<TimeSpan> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" Usage="Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddCheck (builder, name, instance, failureStatus, tags, timeout)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Diagnostics.HealthChecks</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="builder" Type="Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" RefType="this" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="instance" Type="Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck" />
<Parameter Name="failureStatus" Type="System.Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus>" />
<Parameter Name="tags" Type="System.Collections.Generic.IEnumerable<System.String>">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="timeout" Type="System.Nullable<System.TimeSpan>" />
</Parameters>
<Docs>
<param name="builder">The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</param>
<param name="name">The name of the health check.</param>
<param name="instance">An <see cref="T:Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck" /> instance.</param>
<param name="failureStatus">
The <see cref="T:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus" /> that should be reported when the health check reports a failure. If the provided value
is <c>null</c>, then <see cref="F:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus.Unhealthy" /> will be reported.
</param>
<param name="tags">A list of tags that can be used to filter health checks.</param>
<param name="timeout">An optional <see cref="T:System.TimeSpan" /> representing the timeout of the check.</param>
<summary>
Adds a new health check with the specified name and implementation.
</summary>
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddCheck<T>">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddCheck<T> (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable<string> tags) where T : class, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddCheck<class (class Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck) T>(class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, valuetype System.Nullable`1<valuetype Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> failureStatus, class System.Collections.Generic.IEnumerable`1<string> tags) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddCheck``1(Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder,System.String,System.Nullable{Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus},System.Collections.Generic.IEnumerable{System.String})" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddCheck(Of T As {Class, IHealthCheck}) (builder As IHealthChecksBuilder, name As String, failureStatus As Nullable(Of HealthStatus), tags As IEnumerable(Of String)) As IHealthChecksBuilder" />
<MemberSignature Language="F#" Value="static member AddCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder (requires 'T : null and 'T :> Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck)" Usage="Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddCheck (builder, name, failureStatus, tags)" />
<MemberSignature Language="C++ CLI" Value="public:
generic <typename T>
 where T : class, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, System::String ^ name, Nullable<Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus> failureStatus, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Diagnostics.HealthChecks</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)>]</AttributeName>
</Attribute>
</Attributes>
<Constraints>
<ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
<InterfaceName>Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="builder" Type="Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" RefType="this" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="failureStatus" Type="System.Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus>" />
<Parameter Name="tags" Type="System.Collections.Generic.IEnumerable<System.String>" />
</Parameters>
<Docs>
<typeparam name="T">The health check implementation type.</typeparam>
<param name="builder">The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</param>
<param name="name">The name of the health check.</param>
<param name="failureStatus">
The <see cref="T:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus" /> that should be reported when the health check reports a failure. If the provided value
is <c>null</c>, then <see cref="F:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus.Unhealthy" /> will be reported.
</param>
<param name="tags">A list of tags that can be used to filter health checks.</param>
<summary>
Adds a new health check with the specified name and implementation.
</summary>
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</returns>
<remarks>
This method will use <see cref="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance``1(System.IServiceProvider)" /> to create the health check
instance when needed. If a service of type <typeparamref name="T" /> is registered in the dependency injection container
with any lifetime it will be used. Otherwise an instance of type <typeparamref name="T" /> will be constructed with
access to services from the dependency injection container.
</remarks>
</Docs>
</Member>
<Member MemberName="AddCheck<T>">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddCheck<T> (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus = default, System.Collections.Generic.IEnumerable<string>? tags = default, TimeSpan? timeout = default) where T : class, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddCheck<class (class Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck) T>(class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, valuetype System.Nullable`1<valuetype Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> failureStatus, class System.Collections.Generic.IEnumerable`1<string> tags, valuetype System.Nullable`1<valuetype System.TimeSpan> timeout) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddCheck``1(Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder,System.String,System.Nullable{Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus},System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.TimeSpan})" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddCheck(Of T As {Class, IHealthCheck}) (builder As IHealthChecksBuilder, name As String, Optional failureStatus As Nullable(Of HealthStatus) = Nothing, Optional tags As IEnumerable(Of String) = Nothing, Optional timeout As Nullable(Of TimeSpan) = Nothing) As IHealthChecksBuilder" />
<MemberSignature Language="F#" Value="static member AddCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> * Nullable<TimeSpan> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder (requires 'T : null and 'T :> Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck)" Usage="Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddCheck (builder, name, failureStatus, tags, timeout)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Diagnostics.HealthChecks</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)>]</AttributeName>
</Attribute>
</Attributes>
<Constraints>
<ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
<InterfaceName>Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="builder" Type="Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" RefType="this" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="failureStatus" Type="System.Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus>" />
<Parameter Name="tags" Type="System.Collections.Generic.IEnumerable<System.String>">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="timeout" Type="System.Nullable<System.TimeSpan>" />
</Parameters>
<Docs>
<typeparam name="T">The health check implementation type.</typeparam>
<param name="builder">The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</param>
<param name="name">The name of the health check.</param>
<param name="failureStatus">
The <see cref="T:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus" /> that should be reported when the health check reports a failure. If the provided value
is <c>null</c>, then <see cref="F:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus.Unhealthy" /> will be reported.
</param>
<param name="tags">A list of tags that can be used to filter health checks.</param>
<param name="timeout">An optional <see cref="T:System.TimeSpan" /> representing the timeout of the check.</param>
<summary>
Adds a new health check with the specified name and implementation.
</summary>
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</returns>
<remarks>
This method will use <see cref="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance``1(System.IServiceProvider)" /> to create the health check
instance when needed. If a service of type <typeparamref name="T" /> is registered in the dependency injection container
with any lifetime it will be used. Otherwise an instance of type <typeparamref name="T" /> will be constructed with
access to services from the dependency injection container.
</remarks>
</Docs>
</Member>
<Member MemberName="AddTypeActivatedCheck<T>">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddTypeActivatedCheck<T> (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, params object[] args) where T : class, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddTypeActivatedCheck<class (class Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck) T>(class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, object[] args) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddTypeActivatedCheck``1(Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder,System.String,System.Object[])" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddTypeActivatedCheck(Of T As {Class, IHealthCheck}) (builder As IHealthChecksBuilder, name As String, ParamArray args As Object()) As IHealthChecksBuilder" />
<MemberSignature Language="F#" Value="static member AddTypeActivatedCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string * obj[] -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder (requires 'T : null and 'T :> Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck)" Usage="Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddTypeActivatedCheck (builder, name, args)" />
<MemberSignature Language="C++ CLI" Value="public:
generic <typename T>
 where T : class, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddTypeActivatedCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, System::String ^ name, ... cli::array <System::Object ^> ^ args);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Diagnostics.HealthChecks</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)>]</AttributeName>
</Attribute>
</Attributes>
<Constraints>
<ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
<InterfaceName>Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="builder" Type="Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" RefType="this" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="args" Type="System.Object[]">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<typeparam name="T">The health check implementation type.</typeparam>
<param name="builder">The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</param>
<param name="name">The name of the health check.</param>
<param name="args">Additional arguments to provide to the constructor.</param>
<summary>
Adds a new type activated health check with the specified name and implementation.
</summary>
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</returns>
<remarks>
This method will use <see cref="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance``1(System.IServiceProvider,System.Object[])" /> to create the health check
instance when needed. Additional arguments can be provided to the constructor via <paramref name="args" />.
</remarks>
</Docs>
</Member>
<Member MemberName="AddTypeActivatedCheck<T>">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddTypeActivatedCheck<T> (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, params object[] args) where T : class, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddTypeActivatedCheck<class (class Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck) T>(class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, valuetype System.Nullable`1<valuetype Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> failureStatus, object[] args) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddTypeActivatedCheck``1(Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder,System.String,System.Nullable{Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus},System.Object[])" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddTypeActivatedCheck(Of T As {Class, IHealthCheck}) (builder As IHealthChecksBuilder, name As String, failureStatus As Nullable(Of HealthStatus), ParamArray args As Object()) As IHealthChecksBuilder" />
<MemberSignature Language="F#" Value="static member AddTypeActivatedCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * obj[] -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder (requires 'T : null and 'T :> Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck)" Usage="Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddTypeActivatedCheck (builder, name, failureStatus, args)" />
<MemberSignature Language="C++ CLI" Value="public:
generic <typename T>
 where T : class, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddTypeActivatedCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, System::String ^ name, Nullable<Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus> failureStatus, ... cli::array <System::Object ^> ^ args);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Diagnostics.HealthChecks</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)>]</AttributeName>
</Attribute>
</Attributes>
<Constraints>
<ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
<InterfaceName>Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="builder" Type="Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" RefType="this" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="failureStatus" Type="System.Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus>" />
<Parameter Name="args" Type="System.Object[]">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<typeparam name="T">The health check implementation type.</typeparam>
<param name="builder">The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</param>
<param name="name">The name of the health check.</param>
<param name="failureStatus">
The <see cref="T:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus" /> that should be reported when the health check reports a failure. If the provided value
is <c>null</c>, then <see cref="F:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus.Unhealthy" /> will be reported.
</param>
<param name="args">Additional arguments to provide to the constructor.</param>
<summary>
Adds a new type activated health check with the specified name and implementation.
</summary>
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</returns>
<remarks>
This method will use <see cref="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance``1(System.IServiceProvider,System.Object[])" /> to create the health check
instance when needed. Additional arguments can be provided to the constructor via <paramref name="args" />.
</remarks>
</Docs>
</Member>
<Member MemberName="AddTypeActivatedCheck<T>">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddTypeActivatedCheck<T> (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable<string>? tags, params object[] args) where T : class, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddTypeActivatedCheck<class (class Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck) T>(class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, valuetype System.Nullable`1<valuetype Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> failureStatus, class System.Collections.Generic.IEnumerable`1<string> tags, object[] args) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddTypeActivatedCheck``1(Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder,System.String,System.Nullable{Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus},System.Collections.Generic.IEnumerable{System.String},System.Object[])" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddTypeActivatedCheck(Of T As {Class, IHealthCheck}) (builder As IHealthChecksBuilder, name As String, failureStatus As Nullable(Of HealthStatus), tags As IEnumerable(Of String), ParamArray args As Object()) As IHealthChecksBuilder" />
<MemberSignature Language="F#" Value="static member AddTypeActivatedCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> * obj[] -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder (requires 'T : null and 'T :> Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck)" Usage="Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddTypeActivatedCheck (builder, name, failureStatus, tags, args)" />
<MemberSignature Language="C++ CLI" Value="public:
generic <typename T>
 where T : class, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddTypeActivatedCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, System::String ^ name, Nullable<Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus> failureStatus, System::Collections::Generic::IEnumerable<System::String ^> ^ tags, ... cli::array <System::Object ^> ^ args);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Diagnostics.HealthChecks</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)>]</AttributeName>
</Attribute>
</Attributes>
<Constraints>
<ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
<InterfaceName>Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="builder" Type="Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" RefType="this" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="failureStatus" Type="System.Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus>" />
<Parameter Name="tags" Type="System.Collections.Generic.IEnumerable<System.String>">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="args" Type="System.Object[]">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<typeparam name="T">The health check implementation type.</typeparam>
<param name="builder">The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</param>
<param name="name">The name of the health check.</param>
<param name="failureStatus">
The <see cref="T:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus" /> that should be reported when the health check reports a failure. If the provided value
is <c>null</c>, then <see cref="F:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus.Unhealthy" /> will be reported.
</param>
<param name="tags">A list of tags that can be used to filter health checks.</param>
<param name="args">Additional arguments to provide to the constructor.</param>
<summary>
Adds a new type activated health check with the specified name and implementation.
</summary>
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</returns>
<remarks>
This method will use <see cref="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance``1(System.IServiceProvider,System.Object[])" /> to create the health check
instance when needed. Additional arguments can be provided to the constructor via <paramref name="args" />.
</remarks>
</Docs>
</Member>
<Member MemberName="AddTypeActivatedCheck<T>">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddTypeActivatedCheck<T> (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable<string> tags, TimeSpan timeout, params object[] args) where T : class, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddTypeActivatedCheck<class (class Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck) T>(class Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, valuetype System.Nullable`1<valuetype Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> failureStatus, class System.Collections.Generic.IEnumerable`1<string> tags, valuetype System.TimeSpan timeout, object[] args) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddTypeActivatedCheck``1(Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder,System.String,System.Nullable{Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus},System.Collections.Generic.IEnumerable{System.String},System.TimeSpan,System.Object[])" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddTypeActivatedCheck(Of T As {Class, IHealthCheck}) (builder As IHealthChecksBuilder, name As String, failureStatus As Nullable(Of HealthStatus), tags As IEnumerable(Of String), timeout As TimeSpan, ParamArray args As Object()) As IHealthChecksBuilder" />
<MemberSignature Language="F#" Value="static member AddTypeActivatedCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> * TimeSpan * obj[] -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder (requires 'T : null and 'T :> Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck)" Usage="Microsoft.Extensions.DependencyInjection.HealthChecksBuilderAddCheckExtensions.AddTypeActivatedCheck (builder, name, failureStatus, tags, timeout, args)" />
<MemberSignature Language="C++ CLI" Value="public:
generic <typename T>
 where T : class, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddTypeActivatedCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, System::String ^ name, Nullable<Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus> failureStatus, System::Collections::Generic::IEnumerable<System::String ^> ^ tags, TimeSpan timeout, ... cli::array <System::Object ^> ^ args);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Diagnostics.HealthChecks</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Attributes>
<Attribute FrameworkAlternate="net-10.0-pp">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)>]</AttributeName>
</Attribute>
</Attributes>
<Constraints>
<ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
<InterfaceName>Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="builder" Type="Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" RefType="this" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="failureStatus" Type="System.Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus>" />
<Parameter Name="tags" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="timeout" Type="System.TimeSpan" />
<Parameter Name="args" Type="System.Object[]">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<typeparam name="T">The health check implementation type.</typeparam>
<param name="builder">The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</param>
<param name="name">The name of the health check.</param>
<param name="failureStatus">
The <see cref="T:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus" /> that should be reported when the health check reports a failure. If the provided value
is <c>null</c>, then <see cref="F:Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus.Unhealthy" /> will be reported.
</param>
<param name="tags">A list of tags that can be used to filter health checks.</param>
<param name="timeout">A <see cref="T:System.TimeSpan" /> representing the timeout of the check.</param>
<param name="args">Additional arguments to provide to the constructor.</param>
<summary>
Adds a new type activated health check with the specified name and implementation.
</summary>
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder" />.</returns>
<remarks>
This method will use <see cref="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance``1(System.IServiceProvider,System.Object[])" /> to create the health check
instance when needed. Additional arguments can be provided to the constructor via <paramref name="args" />.
</remarks>
</Docs>
</Member>
</Members>
</Type>