Class TenantConfigurationProvider
Inheritance
TenantConfigurationProvider
Assembly: Volo.Abp.MultiTenancy.dll
Syntax
public class TenantConfigurationProvider : ITenantConfigurationProvider, ITransientDependency
Constructors
TenantConfigurationProvider(ITenantResolver, ITenantStore, ITenantResolveResultAccessor, IStringLocalizer<AbpMultiTenancyResource>, ITenantNormalizer)
Declaration
public TenantConfigurationProvider(ITenantResolver tenantResolver, ITenantStore tenantStore, ITenantResolveResultAccessor tenantResolveResultAccessor, IStringLocalizer<AbpMultiTenancyResource> stringLocalizer, ITenantNormalizer tenantNormalizer)
Parameters
Properties
StringLocalizer
Declaration
protected virtual IStringLocalizer<AbpMultiTenancyResource> StringLocalizer { get; }
Property Value
TenantNormalizer
Declaration
protected virtual ITenantNormalizer TenantNormalizer { get; }
Property Value
TenantResolveResultAccessor
Declaration
protected virtual ITenantResolveResultAccessor TenantResolveResultAccessor { get; }
Property Value
TenantResolver
Declaration
protected virtual ITenantResolver TenantResolver { get; }
Property Value
TenantStore
Declaration
protected virtual ITenantStore TenantStore { get; }
Property Value
Methods
FindTenantAsync(string)
Declaration
protected virtual Task<TenantConfiguration?> FindTenantAsync(string tenantIdOrName)
Parameters
Type |
Name |
Description |
string |
tenantIdOrName |
|
Returns
GetAsync(bool)
Declaration
public virtual Task<TenantConfiguration?> GetAsync(bool saveResolveResult = false)
Parameters
Type |
Name |
Description |
bool |
saveResolveResult |
|
Returns
Implements
Extension Methods