AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

DomainLanguageHelper..::..GetDomain Method

Overload List


  Name Description
Public method Static member GetDomain(SQL, HttpContext)
Gets the domain.
Public method Static member 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.
Public method Static member GetDomain(SQL, IOwinContext)
Gets the domain.
Public method Static member 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.