public TenantContainerMiddleware(RequestDelegate next, IModulesHost modulesHost, ITenantsHost tenantsHost, IOptions <TenantsConfig> tenantsOption, ILogger <TenantContainerMiddleware> logger) { this.next = next; this.modulesHost = modulesHost; this.tenantsHost = tenantsHost; this.tenantsConfig = tenantsOption.Value; this.logger = logger; }
public TenantsHost(IOptions <TenantsConfig> tenantsOption, ITenantContainerFactory factory, IModulesHost modulesHost, ILogger <TenantsHost> logger) { tenantsConfig = tenantsOption.Value; tenantContainerFactory = factory; this.modulesHost = modulesHost; this.logger = logger; }
public TenantContainerFactory( IServiceCollection applicationServices, IServiceProvider serviceProvider, IModulesHost modulesHost, ILogger <TenantContainerFactory> logger) { this.applicationServices = applicationServices; this.serviceProvider = serviceProvider; this.modulesHost = modulesHost; this.logger = logger; }