C# Class Frapid.Configuration.TenantConvention

ファイルを表示 Open project: frapid/frapid Class Usage Examples

Public Methods

Method Description
EnforceSsl ( string domain = "" ) : bool
FindDomainByTenant ( string tenant ) : Frapid.Configuration.ApprovedDomain
GetBaseDomain ( System.Web.HttpContextBase context, bool includeScheme ) : string
GetDbNameByConvention ( string domain = "" ) : string
GetDefaultTenantName ( ) : string
GetDomain ( ) : string
GetDomains ( ) : List
GetSerializer ( ) : DomainSerializer
GetSite ( string tenant ) : Frapid.Configuration.ApprovedDomain
GetTenant ( string url = "" ) : string
GetTenantLocator ( ) : ITenantLocator
GetTenantMembers ( string tenant ) : List
GetTenants ( ) : List
IsStaticDomain ( string domain = "" ) : bool
IsValidDomain ( string domain = "" ) : bool
IsValidTenant ( string tenant = "" ) : bool

Method Details

EnforceSsl() public static method

public static EnforceSsl ( string domain = "" ) : bool
domain string
return bool

FindDomainByTenant() public static method

public static FindDomainByTenant ( string tenant ) : Frapid.Configuration.ApprovedDomain
tenant string
return Frapid.Configuration.ApprovedDomain

GetBaseDomain() public static method

public static GetBaseDomain ( System.Web.HttpContextBase context, bool includeScheme ) : string
context System.Web.HttpContextBase
includeScheme bool
return string

GetDbNameByConvention() public static method

public static GetDbNameByConvention ( string domain = "" ) : string
domain string
return string

GetDefaultTenantName() public static method

public static GetDefaultTenantName ( ) : string
return string

GetDomain() public static method

public static GetDomain ( ) : string
return string

GetDomains() public static method

public static GetDomains ( ) : List
return List

GetSerializer() public static method

public static GetSerializer ( ) : DomainSerializer
return DomainSerializer

GetSite() public static method

public static GetSite ( string tenant ) : Frapid.Configuration.ApprovedDomain
tenant string
return Frapid.Configuration.ApprovedDomain

GetTenant() public static method

public static GetTenant ( string url = "" ) : string
url string
return string

GetTenantLocator() public static method

public static GetTenantLocator ( ) : ITenantLocator
return ITenantLocator

GetTenantMembers() public static method

public static GetTenantMembers ( string tenant ) : List
tenant string
return List

GetTenants() public static method

public static GetTenants ( ) : List
return List

IsStaticDomain() public static method

public static IsStaticDomain ( string domain = "" ) : bool
domain string
return bool

IsValidDomain() public static method

public static IsValidDomain ( string domain = "" ) : bool
domain string
return bool

IsValidTenant() public static method

public static IsValidTenant ( string tenant = "" ) : bool
tenant string
return bool