C# Class cloudscribe.Core.Web.Middleware.CommonExceptionHandlerMiddleware

显示文件 Open project: joeaudette/cloudscribe

Public Methods

Method Description
CommonExceptionHandlerMiddleware ( RequestDelegate next, ILoggerFactory loggerFactory, System.Diagnostics.DiagnosticSource diagnosticSource, IOptions options = null ) : System
Invoke ( HttpContext context ) : System.Threading.Tasks.Task

Private Methods

Method Description
ClearCacheHeaders ( object state ) : System.Threading.Tasks.Task

Method Details

CommonExceptionHandlerMiddleware() public method

public CommonExceptionHandlerMiddleware ( RequestDelegate next, ILoggerFactory loggerFactory, System.Diagnostics.DiagnosticSource diagnosticSource, IOptions options = null ) : System
next RequestDelegate
loggerFactory ILoggerFactory
diagnosticSource System.Diagnostics.DiagnosticSource
options IOptions
return System

Invoke() public method

public Invoke ( HttpContext context ) : System.Threading.Tasks.Task
context HttpContext
return System.Threading.Tasks.Task