C# 클래스 Bah.Core.Site.Multitenancy.RouteDataItemTenantIdentificationStrategy

상속: ITenantIdentificationStrategy
파일 보기 프로젝트 열기: mppa-git/aspnet4-multitenant-framework 1 사용 예제들

공개 메소드들

메소드 설명
RouteDataItemTenantIdentificationStrategy ( string parameterName ) : System

Create a new RouteDataItemTenantIdentificationStrategy for the specified parameter name.

TryIdentifyTenant ( object &tenantId ) : bool

Attempts to identify the tenant from the route data parameters.

메소드 상세

RouteDataItemTenantIdentificationStrategy() 공개 메소드

Create a new RouteDataItemTenantIdentificationStrategy for the specified parameter name.
/// Thrown if is . /// /// Thrown if is empty. ///
public RouteDataItemTenantIdentificationStrategy ( string parameterName ) : System
parameterName string /// The request parameter name that holds the tenant identifier. ///
리턴 System

TryIdentifyTenant() 공개 메소드

Attempts to identify the tenant from the route data parameters.
public TryIdentifyTenant ( object &tenantId ) : bool
tenantId object The current tenant identifier.
리턴 bool