1 write to _healthCheckOptions
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
HealthCheckMiddleware.cs (1)
32
_healthCheckOptions
= healthCheckOptions.Value;
5 references to _healthCheckOptions
Microsoft.AspNetCore.Diagnostics.HealthChecks (5)
HealthCheckMiddleware.cs (5)
46
var result = await _healthCheckService.CheckHealthAsync(
_healthCheckOptions
.Predicate, httpContext.RequestAborted);
49
if (!
_healthCheckOptions
.ResultStatusCodes.TryGetValue(result.Status, out var statusCode))
61
if (!
_healthCheckOptions
.AllowCachingResponses)
70
if (
_healthCheckOptions
.ResponseWriter != null)
72
await
_healthCheckOptions
.ResponseWriter(httpContext, result);