C# Class YoloDev.MultiTenant.TenantMiddleware

Mostrar archivo Open project: YoloDev/YoloDev.MultiTenant

Public Methods

Method Description
Invoke ( Microsoft.AspNet.Http.HttpContext context, TenantService service ) : System.Threading.Tasks.Task
TenantMiddleware ( RequestDelegate next ) : Microsoft.AspNet.Builder

Method Details

Invoke() public method

public Invoke ( Microsoft.AspNet.Http.HttpContext context, TenantService service ) : System.Threading.Tasks.Task
context Microsoft.AspNet.Http.HttpContext
service TenantService
return System.Threading.Tasks.Task

TenantMiddleware() public method

public TenantMiddleware ( RequestDelegate next ) : Microsoft.AspNet.Builder
next RequestDelegate
return Microsoft.AspNet.Builder