Class TenantContextAccessor<TTenant>
This class implements a tenant context accessor for the multi-tenant application.
Inheritance
System.Object
TenantContextAccessor<TTenant>
Implements
ITenantContextAccessor<TTenant>
Namespace: Talegen.AspNetCore.Multitenant
Assembly: Talegen.AspNetCore.Multitenant.dll
Syntax
public class TenantContextAccessor<TTenant> : object, ITenantContextAccessor<TTenant> where TTenant : class, ITenant
Type Parameters
Name | Description |
---|---|
TTenant | The type of the tenant. |
Properties
| Improve this Doc View SourceTenantContext
Gets or sets the tenant context.
Declaration
public ITenantContext<TTenant> TenantContext { get; set; }
Property Value
Type | Description |
---|---|
ITenantContext<TTenant> | The tenant context. |
Implements
See Also
ITenantContextAccessor<TTenant>