public GlobalExceptionHandler(RequestDelegate next, GlobalExceptionHandlerStrings strings) { _next = next; _strings = strings; }
public static IApplicationBuilder UseGlobalExceptionHandler(this IApplicationBuilder builder, GlobalExceptionHandlerStrings strings) { return(builder.UseMiddleware <GlobalExceptionHandler>(strings)); }
public GlobalExceptionHandler(RequestDelegate next) { _next = next; _strings = new GlobalExceptionHandlerStrings(); }