Class TenantManager
- Namespace
- Oqtane.Infrastructure
- Assembly
- Oqtane.Server.dll
public class TenantManager : ITenantManager
- Inheritance
-
TenantManager
- Implements
-
Constructors
TenantManager(IHttpContextAccessor, IAliasRepository, ITenantRepository, SiteState)
public TenantManager(IHttpContextAccessor httpContextAccessor, IAliasRepository aliasRepository, ITenantRepository tenantRepository, SiteState siteState)
Parameters
httpContextAccessor
IHttpContextAccessor
aliasRepository
IAliasRepository
tenantRepository
ITenantRepository
siteState
SiteState
Methods
GetAlias()
Returns
- Alias
GetTenant()
public Tenant GetTenant()
Returns
- Tenant
SetAlias(Alias)
public void SetAlias(Alias alias)
Parameters
alias
Alias
SetAlias(int, int)
public void SetAlias(int tenantId, int siteId)
Parameters
tenantId
int
siteId
int
SetTenant(int)
public void SetTenant(int tenantId)
Parameters
tenantId
int