Class MvcRemoteTenantStore
Inheritance
object
MvcRemoteTenantStore
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.AspNetCore.Mvc.Client.dll
Syntax
public class MvcRemoteTenantStore : ITenantStore, ITransientDependency
Constructors
MvcRemoteTenantStore(AbpTenantClientProxy, IHttpContextAccessor, IDistributedCache<TenantConfiguration>)
Declaration
public MvcRemoteTenantStore(AbpTenantClientProxy tenantAppService, IHttpContextAccessor httpContextAccessor, IDistributedCache<TenantConfiguration> cache)
Parameters
Properties
Cache
Declaration
protected IDistributedCache<TenantConfiguration> Cache { get; }
Property Value
HttpContextAccessor
Declaration
protected IHttpContextAccessor HttpContextAccessor { get; }
Property Value
| Type |
Description |
| Microsoft.AspNetCore.Http.IHttpContextAccessor |
|
TenantAppService
Declaration
protected AbpTenantClientProxy TenantAppService { get; }
Property Value
Methods
CreateCacheKey(Guid)
Declaration
protected virtual string CreateCacheKey(Guid tenantId)
Parameters
| Type |
Name |
Description |
| System.Guid |
tenantId |
|
Returns
CreateCacheKey(string)
Declaration
protected virtual string CreateCacheKey(string tenantName)
Parameters
| Type |
Name |
Description |
| string |
tenantName |
|
Returns
CreateTenantConfiguration(FindTenantResultDto)
Declaration
protected virtual TenantConfiguration CreateTenantConfiguration(FindTenantResultDto tenantResultDto)
Parameters
Returns
Find(Guid)
Declaration
public TenantConfiguration Find(Guid id)
Parameters
| Type |
Name |
Description |
| System.Guid |
id |
|
Returns
Find(string)
Declaration
public TenantConfiguration Find(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
FindAsync(Guid)
Declaration
public Task<TenantConfiguration> FindAsync(Guid id)
Parameters
| Type |
Name |
Description |
| System.Guid |
id |
|
Returns
FindAsync(string)
Declaration
public Task<TenantConfiguration> FindAsync(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
Implements
Extension Methods