Interface ITenantContextSetter
- Namespace
- Compendium.Multitenancy
- Assembly
- Compendium.Multitenancy.dll
Provides access to the tenant context and allows modification. This interface is used by middleware and tenant resolution components.
public interface ITenantContextSetter : ITenantContextAccessor
- Inherited Members
Methods
ClearTenant()
Clears the current tenant context.
void ClearTenant()
SetTenant(TenantInfo?)
Sets the current tenant.
void SetTenant(TenantInfo? tenant)
Parameters
tenantTenantInfoThe tenant information to set.