C# Class AspNetStructureMapSample.LogTenantMiddleware

ファイルを表示 Open project: saaskit/saaskit

Public Methods

Method Description
Invoke ( HttpContext context, IMessageService messageService ) : System.Threading.Tasks.Task
LogTenantMiddleware ( RequestDelegate next, ILoggerFactory loggerFactory ) : Microsoft.AspNetCore.Builder

Method Details

Invoke() public method

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

LogTenantMiddleware() public method

public LogTenantMiddleware ( RequestDelegate next, ILoggerFactory loggerFactory ) : Microsoft.AspNetCore.Builder
next RequestDelegate
loggerFactory ILoggerFactory
return Microsoft.AspNetCore.Builder