Class CurrentTenant
Inheritance
System.Object
CurrentTenant
Implements
ITransientDependency
Assembly: Volo.Abp.MultiTenancy.dll
Syntax
public class CurrentTenant : object, ICurrentTenant, ITransientDependency
Constructors
CurrentTenant(ICurrentTenantAccessor)
Declaration
public CurrentTenant(ICurrentTenantAccessor currentTenantAccessor)
Parameters
Properties
Id
Declaration
public virtual Guid? Id { get; }
Property Value
Type |
Description |
System.Nullable<Guid> |
|
IsAvailable
Declaration
public virtual bool IsAvailable { get; }
Property Value
Type |
Description |
System.Boolean |
|
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Change(Nullable<Guid>, String)
Declaration
public IDisposable Change(Guid? id, string name = null)
Parameters
Type |
Name |
Description |
System.Nullable<Guid> |
id |
|
System.String |
name |
|
Returns
Type |
Description |
IDisposable |
|
Implements
ITransientDependency
Extension Methods