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

Class AutomaticSiteMappingCollection

Inheritance
System.Object
AutomaticSiteMappingCollection
Namespace: EPiServer.Framework.Configuration
Assembly: EPiServer.Framework.dll
Version: 9.12.2
Syntax
[Obsolete("Use EPiServer.Web.SiteDefinitionRepository and SiteDefinition in EPiServer.dll to work with sites")]
public class AutomaticSiteMappingCollection : ConfigurationElementCollection<AutomaticSiteMappingElement>

Constructors

AutomaticSiteMappingCollection()

Declaration
public AutomaticSiteMappingCollection()

Methods

Add(String, String)

Declaration
public void Add(string key, string siteId)
Parameters
Type Name Description
System.String key
System.String siteId

FindSiteId(String)

Declaration
public string FindSiteId(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.String

GetElementKey(ConfigurationElement)

Declaration
protected override object GetElementKey(ConfigurationElement element)
Parameters
Type Name Description
System.Configuration.ConfigurationElement element
Returns
Type Description
System.Object

Remove(String)

Declaration
public void Remove(string key)
Parameters
Type Name Description
System.String key

Extension Methods