November Happy Hour will be moved to Thursday December 5th.

Class SiteDefinitionResolverExtensions

Extends ISiteDefinitionResolver with convenient methods

Inheritance
System.Object
SiteDefinitionResolverExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public static class SiteDefinitionResolverExtensions

Methods

Get(ISiteDefinitionResolver, HttpRequestBase)

Gets the SiteDefinition that has a host that matches specified request.

Declaration
public static SiteDefinition Get(this ISiteDefinitionResolver siteDefinitionResolver, HttpRequestBase request)
Parameters
Type Name Description
ISiteDefinitionResolver siteDefinitionResolver

The site definition resolver that is being extended

System.Web.HttpRequestBase request

The request.

Returns
Type Description
SiteDefinition