1 instantiation of TestHealthCheck
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (1)
DependencyInjection\HealthChecksBuilderTest.cs (1)
66
var instance = new
TestHealthCheck
();
4 references to TestHealthCheck
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (4)
DependencyInjection\HealthChecksBuilderTest.cs (4)
47
services.AddHealthChecks().AddCheck<
TestHealthCheck
>("test", failureStatus: HealthStatus.Degraded, tags: new[] { "tag", });
59
Assert.IsType<
TestHealthCheck
>(registration.Factory(serviceProvider));
66
var
instance = new TestHealthCheck();
70
services.AddHealthChecks().AddCheck<
TestHealthCheck
>("test", failureStatus: HealthStatus.Degraded, tags: new[] { "tag", });