Show / Hide Table of Contents

Class MvcRemoteTenantStore

Inheritance
object
MvcRemoteTenantStore
Implements
ITenantStore
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Mvc.Client
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
Type Name Description
AbpTenantClientProxy tenantAppService
IHttpContextAccessor httpContextAccessor
IDistributedCache<TenantConfigurationCacheItem> cache
IOptions<AbpAspNetCoreMvcClientCacheOptions> options

Properties

Cache

Declaration
protected IDistributedCache<TenantConfigurationCacheItem> Cache { get; }
Property Value
Type Description
IDistributedCache<TenantConfigurationCacheItem>

HttpContextAccessor

Declaration
protected IHttpContextAccessor HttpContextAccessor { get; }
Property Value
Type Description
IHttpContextAccessor

Options

Declaration
protected AbpAspNetCoreMvcClientCacheOptions Options { get; }
Property Value
Type Description
AbpAspNetCoreMvcClientCacheOptions

TenantAppService

Declaration
protected AbpTenantClientProxy TenantAppService { get; }
Property Value
Type Description
AbpTenantClientProxy

Methods

Find(Guid)

Declaration
public TenantConfiguration? Find(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
TenantConfiguration

Find(string)

Declaration
public TenantConfiguration? Find(string normalizedName)
Parameters
Type Name Description
string normalizedName
Returns
Type Description
TenantConfiguration

FindAsync(Guid)

Declaration
public Task<TenantConfiguration?> FindAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<TenantConfiguration>

FindAsync(string)

Declaration
public Task<TenantConfiguration?> FindAsync(string normalizedName)
Parameters
Type Name Description
string normalizedName
Returns
Type Description
Task<TenantConfiguration>

GetListAsync(bool)

Declaration
public Task<IReadOnlyList<TenantConfiguration>> GetListAsync(bool includeDetails = false)
Parameters
Type Name Description
bool includeDetails
Returns
Type Description
Task<IReadOnlyList<TenantConfiguration>>

Implements

ITenantStore
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform