public static IApplicationBuilder UseHealthcheckMiddleware(this IApplicationBuilder app, string route, Options options)
 {
     return(app.Map(route, hcApp => hcApp.UseHealthcheckMiddleware(options)));
 }
 public static IApplicationBuilder UseHealthcheckMiddleware(this IApplicationBuilder app, Options options)
 {
     return(app.UseMiddleware <HealthcheckMiddleware>(new ProcessInfoRetriever(), options));
 }