C# Class YoloDev.MultiTenant.RequireTenantMiddleware

Exibir arquivo Open project: YoloDev/YoloDev.MultiTenant

Public Methods

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

Method Details

Invoke() public method

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

RequireTenantMiddleware() public method

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