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

Class SiteDefinitionRepositoryExtensions

Extends ISiteDefinitionRepository with convenient methods

Inheritance
System.Object
SiteDefinitionRepositoryExtensions
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public static class SiteDefinitionRepositoryExtensions : Object

Methods

Get(ISiteDefinitionRepository, String)

Gets the SiteDefinition with specified name.

Declaration
public static SiteDefinition Get(this ISiteDefinitionRepository siteDefinitionRepository, string name)
Parameters
Type Name Description
ISiteDefinitionRepository siteDefinitionRepository

The extended site definition repository

System.String name

The name.

Returns
Type Description
SiteDefinition

The site definition with specified name