DomainLanguageHelper Members
The DomainLanguageHelper type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
GetCurrentHost(HttpContext) |
Gets the current host.
|
|
|
GetCurrentHost(HttpContextWrapper) |
Returns the current request's host (including non-default port) for the supplied
HttpContextWrapper.
|
|
|
GetCurrentHost(HttpRequest) |
Gets the current host.
|
|
|
GetCurrentHost(HttpRequestBase) |
Returns the current request's host (including non-default port) for the supplied
HttpRequestBase.
|
|
|
GetCurrentHost(IOwinContext) |
Gets the current host.
|
|
|
GetCurrentUrlRoot(HttpContext) |
Gets the current URL root (host and optional virtual path) for the request.
|
|
|
GetCurrentUrlRoot(HttpContextWrapper) |
Gets the current URL root.
|
|
|
GetCurrentUrlRoot(IOwinContext) |
Gets the current URL root.
|
|
|
GetDefaultDomain |
Returns the framework's default Domain: the lowest-DomainID active
domain, falling back to the lowest-DomainID domain unconditionally if none are
active. Used as the safety-net resolution when no domain matches the current request.
|
|
|
GetDefaultLangaugeByHostHeader(Domain, HttpContext, List<(Of <<'(Language>)>>)) |
Gets the default langauge by host header.
|
|
|
GetDefaultLangaugeByHostHeader(Domain, HttpContextWrapper, List<(Of <<'(Language>)>>)) |
Gets the default langauge by host header.
|
|
|
GetDefaultLangaugeByHostHeader(Domain, IOwinContext, List<(Of <<'(Language>)>>)) |
Gets the default langauge by host header.
|
|
|
GetDefaultLanguage |
Returns the framework's default Language for the given domain: the primary
active language (IsPrimary == true), falling back to the lowest-ID active language
of the domain. Used as the safety-net resolution when language can't be resolved by
cookie/parameter/slug.
|
|
|
GetDomain(SQL, HttpContext) |
Gets the domain.
|
|
|
GetDomain(SQL, HttpContextWrapper) |
Gets the domain for the current request by matching the request URL against configured domain paths.
Resolves via GetDomainByPath(String) which returns a per-request clone
from the application-level domain cache.
|
|
|
GetDomain(SQL, IOwinContext) |
Gets the domain.
|
|
|
GetDomain(HttpContextWrapper, SQL, String) |
Resolves a domain by database lookup against the supplied host, bypassing the in-memory
domain map. Intended for call-sites where HttpContext is null or
the cache must be skipped.
|
|
|
GetDomainById |
Gets the domain by identifier.
|
|
|
GetHost |
Gets the host.
|
|
|
GetLanguage(SQL, Domain, HttpContext) |
Gets the language.
|
|
|
GetLanguage(SQL, Domain, HttpContextWrapper) |
Gets the language.
|
|
|
GetLanguage(SQL, Domain, String, HttpContext) |
Gets the language.
|
|
|
GetLanguage(SQL, Domain, String, HttpContextWrapper) |
Gets the language.
|
|
|
GetLanguage(SQL, Domain, String, IOwinContext) |
Gets the language.
|
|
|
GetLanguageById |
Gets the language by identifier.
|
|
|
getLanguageCookie(SQL, Domain, HttpContext) |
Gets the language cookie.
|
|
|
getLanguageCookie(SQL, Domain, HttpContextWrapper) |
Gets the language cookie.
|
|
|
GetLanguageId(HttpContext) |
Gets the language identifier.
|
|
|
GetLanguageId(HttpContextWrapper) |
Gets the language identifier.
|
|
|
GetLanguageId(IOwinContext) |
Gets the language identifier.
|
|
|
IsSearchIndex(HttpContext) |
Determines whether [is search index] [the specified context].
|
|
|
IsSearchIndex(HttpContextWrapper) |
Determines whether [is search index] [the specified context].
|
|
|
ReplaceDomainSlugs |
Replaces the domain slugs.
|
|
|
RequestPath(RequestContext) |
Requests the path.
|
|
|
RequestPath(HttpContext) |
Requests the path.
|
|
|
SetDomainId(HttpContext, Int32) |
Sets the language identifier.
|
|
|
SetDomainId(HttpContextWrapper, Int32) |
Writes the supplied domain identifier into the cookie store for the current context so
subsequent requests resolve the same admin domain.
|
|
|
SetDomainId(RequestContext, Int32) |
Sets the domain identifier.
|
|
|
SetDomainIdLanguageId(HttpContext, Int32, Int32) |
Sets the domain identifier language identifier.
|
|
|
SetDomainIdLanguageId(HttpContextWrapper, Int32, Int32) |
Sets the domain identifier language identifier.
|
|
|
SetDomainIdLanguageId(RequestContext, Int32, Int32) |
Sets the domain identifier language identifier.
|
|
|
SetLanguageId(HttpContext, Int32) |
Sets the language identifier.
|
|
|
SetLanguageId(HttpContextWrapper, Int32) |
Sets the language identifier.
|
|
|
SetLanguageId(RequestContext, Int32) |
Sets the language identifier.
|

