C# Class ApiErrorMiddleWare, code

ファイルを表示 Open project: shendongnian/code

Public Methods

Method Description
ApiErrorMiddleWare ( RequestDelegate next )
Invoke ( HttpContext, context ) : Task,

Private Methods

Method Description
HandleExceptionAsync ( HttpContext, context, Exception, exception ) : Task,

Method Details

ApiErrorMiddleWare() public method

public ApiErrorMiddleWare ( RequestDelegate next )
next RequestDelegate

Invoke() public method

public Invoke ( HttpContext, context ) : Task,
context HttpContext,
return Task,