/// <summary>
 /// Initializes a new instance of the <see cref="TenantActionPerformer"/> class.
 /// </summary>
 /// <param name="tenants">The <see cref="ITenants"/> to use to get all configured tenants.</param>
 /// <param name="serviceProviders">The <see cref="ITenantServiceProviders"/> to use to get the <see cref="IServiceProvider"/> for each tenant.</param>
 public TenantActionPerformer(ITenants tenants, ITenantServiceProviders serviceProviders)
 {
     _allTenants       = tenants;
     _serviceProviders = serviceProviders;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TenantServiceScopeFactory"/> class.
 /// </summary>
 /// <param name="providers">The tenant service providers to use to get the service provider for a tenant.</param>
 public TenantServiceScopeFactory(ITenantServiceProviders providers)
 {
     _providers = providers;
 }