C# 클래스 Unosquare.TenantCore.HostNameTenantResolver

Tenant Resolver class using request's hostname as key to find a possible Tenant
상속: TenantResolverBase, ITenantResolver
파일 보기 프로젝트 열기: unosquare/tenantcore

공개 메소드들

메소드 설명
HostNameTenantResolver ( IEnumerable tenants, string databaseIdentifier = null ) : System.Collections.Generic

Instances a new resolver with a tenant list

HostNameTenantResolver ( string databaseIdentifier = null ) : System.Collections.Generic

Instances a new Resolver without tenants

Resolve ( IOwinRequest request ) : ITenant

Resolves a tenant request using hostname

메소드 상세

HostNameTenantResolver() 공개 메소드

Instances a new resolver with a tenant list
public HostNameTenantResolver ( IEnumerable tenants, string databaseIdentifier = null ) : System.Collections.Generic
tenants IEnumerable The list of tenants
databaseIdentifier string The Database Identifier
리턴 System.Collections.Generic

HostNameTenantResolver() 공개 메소드

Instances a new Resolver without tenants
public HostNameTenantResolver ( string databaseIdentifier = null ) : System.Collections.Generic
databaseIdentifier string The Database Identifier
리턴 System.Collections.Generic

Resolve() 공개 메소드

Resolves a tenant request using hostname
public Resolve ( IOwinRequest request ) : ITenant
request IOwinRequest The request
리턴 ITenant