public HostTenantIdentificationService(TenantMapping tenants) { this._tenants = tenants; }
public static TenantMapping BindTenantsMapping(this IConfiguration configuration, TenantMapping mapping) { configuration.GetSection($"{nameof(Tenants)}").Bind(mapping); return(mapping); }
public HostTenantIdentificationService(IConfiguration configuration) { this._tenants = configuration.GetTenantMapping(); }
public QueryStringTenantIdentificationService(IConfiguration configuration, string tenantKey = nameof(TenantService.Tenant)) { this._tenants = configuration.GetTenantMapping(); this._tenantKey = tenantKey ?? this._tenantKey; }