Class AutomaticSiteMappingCollection

Inheritance
System.Object
AutomaticSiteMappingCollection
Namespace: EPiServer.Framework.Configuration
Assembly: EPiServer.Framework.dll
Version: 8.11.0
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