Class TenantManager
Inheritance
TenantManager
Assembly: Volo.Abp.TenantManagement.Domain.dll
Syntax
public class TenantManager : DomainService, ITenantManager, IDomainService, ITransientDependency
Constructors
TenantManager(ITenantRepository, ITenantNormalizer, ILocalEventBus)
Declaration
public TenantManager(ITenantRepository tenantRepository, ITenantNormalizer tenantNormalizer, ILocalEventBus localEventBus)
Parameters
Properties
LocalEventBus
Declaration
protected ILocalEventBus LocalEventBus { get; }
Property Value
TenantNormalizer
Declaration
protected ITenantNormalizer TenantNormalizer { get; }
Property Value
TenantRepository
Declaration
protected ITenantRepository TenantRepository { get; }
Property Value
Methods
ChangeNameAsync(Tenant, string)
Declaration
public virtual Task ChangeNameAsync(Tenant tenant, string name)
Parameters
Returns
CreateAsync(string)
Declaration
public virtual Task<Tenant> CreateAsync(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
ValidateNameAsync(string, Guid?)
Declaration
protected virtual Task ValidateNameAsync(string normalizeName, Guid? expectedId = null)
Parameters
Type |
Name |
Description |
string |
normalizeName |
|
Guid? |
expectedId |
|
Returns
Implements
Extension Methods