Class MvcRemoteTenantStore
Inheritance
MvcRemoteTenantStore
Assembly: Volo.Abp.AspNetCore.Mvc.Client.dll
Syntax
public class MvcRemoteTenantStore : ITenantStore, ITransientDependency
Constructors
MvcRemoteTenantStore(AbpTenantClientProxy, IHttpContextAccessor, IDistributedCache<TenantConfigurationCacheItem>, IOptions<AbpAspNetCoreMvcClientCacheOptions>)
Declaration
public MvcRemoteTenantStore(AbpTenantClientProxy tenantAppService, IHttpContextAccessor httpContextAccessor, IDistributedCache<TenantConfigurationCacheItem> cache, IOptions<AbpAspNetCoreMvcClientCacheOptions> options)
Parameters
Properties
Cache
Declaration
protected IDistributedCache<TenantConfigurationCacheItem> Cache { get; }
Property Value
HttpContextAccessor
Declaration
protected IHttpContextAccessor HttpContextAccessor { get; }
Property Value
Options
Declaration
protected AbpAspNetCoreMvcClientCacheOptions Options { get; }
Property Value
TenantAppService
Declaration
protected AbpTenantClientProxy TenantAppService { get; }
Property Value
Methods
Find(Guid)
Declaration
public TenantConfiguration? Find(Guid id)
Parameters
Type |
Name |
Description |
Guid |
id |
|
Returns
Find(string)
Declaration
public TenantConfiguration? Find(string normalizedName)
Parameters
Type |
Name |
Description |
string |
normalizedName |
|
Returns
FindAsync(Guid)
Declaration
public Task<TenantConfiguration?> FindAsync(Guid id)
Parameters
Type |
Name |
Description |
Guid |
id |
|
Returns
FindAsync(string)
Declaration
public Task<TenantConfiguration?> FindAsync(string normalizedName)
Parameters
Type |
Name |
Description |
string |
normalizedName |
|
Returns
GetListAsync(bool)
Declaration
public Task<IReadOnlyList<TenantConfiguration>> GetListAsync(bool includeDetails = false)
Parameters
Type |
Name |
Description |
bool |
includeDetails |
|
Returns
Implements
Extension Methods