3 references to AddTypeActivatedCheck
Microsoft.Extensions.Diagnostics.HealthChecks (2)
DependencyInjection\HealthChecksBuilderAddCheckExtensions.cs (2)
156
return
AddTypeActivatedCheck
<T>(builder, name, failureStatus: null, tags: null, args);
185
return
AddTypeActivatedCheck
<T>(builder, name, failureStatus, tags: null, args);
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (1)
DependencyInjection\HealthChecksBuilderTest.cs (1)
92
.
AddTypeActivatedCheck
<TestHealthCheckWithArgs>("test", failureStatus: HealthStatus.Degraded, tags: new[] { "tag", }, args: new object[] { 5, "hi", });