C# Class ImageProcessor.Web.Configuration.SettingElementCollection

Represents a SettingElementCollection collection configuration element within the configuration.
Inheritance: System.Configuration.ConfigurationElementCollection
Exibir arquivo Open project: JimBobSquarePants/ImageProcessor

Public Methods

Method Description
ContainsKey ( string key ) : bool

Returns a value indicating whether the settings collection contains the given object.

this ( int index ) : SettingElement

Gets or sets the T:ImageProcessor.Web.Config.ImageSecuritySection.SettingElement at the specified index within the collection.

this ( string key ) : SettingElement

Returns the setting element with the specified key.

Protected Methods

Method Description
CreateNewElement ( ) : ConfigurationElement

Creates a new SettingElement configuration element.

GetElementKey ( ConfigurationElement element ) : object

Gets the element key for a specified PluginElement configuration element.

Method Details

ContainsKey() public method

Returns a value indicating whether the settings collection contains the given object.
public ContainsKey ( string key ) : bool
key string The key to identify the setting.
return bool

CreateNewElement() protected method

Creates a new SettingElement configuration element.
protected CreateNewElement ( ) : ConfigurationElement
return System.Configuration.ConfigurationElement

GetElementKey() protected method

Gets the element key for a specified PluginElement configuration element.
protected GetElementKey ( ConfigurationElement element ) : object
element System.Configuration.ConfigurationElement /// The ConfigurationElement /// to return the key for. ///
return object

this() public method

Gets or sets the T:ImageProcessor.Web.Config.ImageSecuritySection.SettingElement at the specified index within the collection.
public this ( int index ) : SettingElement
index int The index at which to get the specified object.
return SettingElement

this() public method

Returns the setting element with the specified key.
public this ( string key ) : SettingElement
key string the key representing the element
return SettingElement