コード例 #1
0
 public HealthCheckerMiddleware(RequestDelegate next, ILoggerFactory loggerFactory, HealthCheckerOptions options)
 {
     _next    = next;
     _logger  = loggerFactory.CreateLogger <HealthCheckerMiddleware>();
     _options = options;
 }
コード例 #2
0
 public static IApplicationBuilder UseHealthcheckEndpoint(this IApplicationBuilder builder, HealthCheckerOptions options)
 {
     return(builder.UseMiddleware <HealthCheckerMiddleware>(options));
 }
コード例 #3
0
 public HealthCheckBuilder(HealthCheckerOptions options)
 {
     _options = options;
 }