Class TenantResolveContext
Inheritance
object
TenantResolveContext
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.MultiTenancy
Assembly: Volo.Abp.MultiTenancy.Abstractions.dll
Syntax
public class TenantResolveContext : ITenantResolveContext, IServiceProviderAccessor
Constructors
TenantResolveContext(IServiceProvider)
Declaration
public TenantResolveContext(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider |
Properties
Handled
Declaration
public bool Handled { get; set; }
Property Value
Type | Description |
---|---|
bool |
ServiceProvider
Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
Type | Description |
---|---|
System.IServiceProvider |
TenantIdOrName
Declaration
public string? TenantIdOrName { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
HasResolvedTenantOrHost()
Declaration
public bool HasResolvedTenantOrHost()
Returns
Type | Description |
---|---|
bool |