Show / Hide Table of Contents

Class TenantStore

Inheritance
System.Object
TenantStore
Implements
ITenantStore
ITransientDependency
Namespace: Volo.Abp.TenantManagement
Assembly: Volo.Abp.TenantManagement.Domain.dll
Syntax
public class TenantStore : object, ITenantStore, ITransientDependency

Constructors

TenantStore(ITenantRepository, IObjectMapper<AbpTenantManagementDomainModule>, ICurrentTenant)

Declaration
public TenantStore(ITenantRepository tenantRepository, IObjectMapper<AbpTenantManagementDomainModule> objectMapper, ICurrentTenant currentTenant)
Parameters
Type Name Description
ITenantRepository tenantRepository
IObjectMapper<AbpTenantManagementDomainModule> objectMapper
ICurrentTenant currentTenant

Properties

CurrentTenant

Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
Type Description
ICurrentTenant

ObjectMapper

Declaration
protected IObjectMapper<AbpTenantManagementDomainModule> ObjectMapper { get; }
Property Value
Type Description
IObjectMapper<AbpTenantManagementDomainModule>

TenantRepository

Declaration
protected ITenantRepository TenantRepository { get; }
Property Value
Type Description
ITenantRepository

Methods

Find(Guid)

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

Find(String)

Declaration
public virtual TenantConfiguration Find(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
TenantConfiguration

FindAsync(Guid)

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

FindAsync(String)

Declaration
public virtual Task<TenantConfiguration> FindAsync(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
Task<TenantConfiguration>

Implements

ITenantStore
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft