Class SiteDefinitionRepositoryExtensions
Extends ISiteDefinitionRepository with convenient methods
Inheritance
System.Object
    SiteDefinitionRepositoryExtensions
  Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public static class SiteDefinitionRepositoryExtensions : ObjectMethods
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 | 
