public GlobalExceptionHandler(IHttpErrorResponseFactory responseFactory) { this.ResponseFactory = responseFactory; }
public CoreExceptionResult(IHttpErrorResponseFactory httpErrorResponseFactory, ExceptionHandlerContext context) { this.httpErrorResponseFactory = httpErrorResponseFactory; this.context = context; }
public static GlobalExceptionHandler Create(IHttpErrorResponseFactory responseFactory) { return(new GlobalExceptionHandler(responseFactory)); }