Class ComponentSecurityElementCollection

Defines a collection of ComponentSecurityElements.

Inheritance
System.Object
ComponentSecurityElementCollection
Namespace: EPiServer.Shell.Configuration
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
public class ComponentSecurityElementCollection : ConfigurationElementCollection

Constructors

ComponentSecurityElementCollection()

Declaration
public ComponentSecurityElementCollection()

Methods

Add(ComponentSecurityElement)

Adds a element to the module collection.

Declaration
public void Add(ComponentSecurityElement componentSecurityElement)
Parameters
Type Name Description
ComponentSecurityElement componentSecurityElement

The component security element to add

CreateNewElement()

Creates a new ComponentSecurityElement.

Declaration
protected override ConfigurationElement CreateNewElement()
Returns
Type Description
System.Configuration.ConfigurationElement

A new ComponentSecurityElement.

GetElementKey(ConfigurationElement)

Gets the element key for a specified configuration element.

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

The System.Configuration.ConfigurationElement to return the key for.

Returns
Type Description
System.Object

'Name' configuration attribute value that acts as the key for the specified ComponentSecurityElement.