C# Class FiftyOne.Foundation.Mobile.Detection.Configuration.FilesCollection

A collection of FilesCollection. This class cannot be inherited.
Inheritance: System.Configuration.ConfigurationElementCollection
ファイルを表示 Open project: 51Degrees/dotNET-Device-Detection

Protected Methods

Method Description
BaseAdd ( ConfigurationElement element ) : void

Add element to the base collection.

CreateNewElement ( ) : ConfigurationElement

Creates a new instance of FileConfigElement.

GetElementKey ( ConfigurationElement element ) : Object

Gets the element key value.

Private Methods

Method Description
Add ( FileConfigElement file ) : void

Add element into the collection.

Clear ( ) : void

Removes all configuration elements from the collection.

IndexOf ( FileConfigElement file ) : int

Gets the index of the specific element inside the collection.

Remove ( FileConfigElement file ) : void

Removes a System.Configuration.ConfigurationElement from the collection.

Remove ( string name ) : void

Removes a System.Configuration.ConfigurationElement from the collection.

RemoveAt ( int index ) : void

Removes a System.Configuration.ConfigurationElement at the specified index location.

this ( int index ) : FileConfigElement

Gets or sets the FileConfigElement.

this ( string name ) : FileConfigElement

Gets or sets the FileConfigElement.

Method Details

BaseAdd() protected method

Add element to the base collection.
protected BaseAdd ( ConfigurationElement element ) : void
element System.Configuration.ConfigurationElement
return void

CreateNewElement() protected method

Creates a new instance of FileConfigElement.
protected CreateNewElement ( ) : ConfigurationElement
return System.Configuration.ConfigurationElement

GetElementKey() protected method

Gets the element key value.
protected GetElementKey ( ConfigurationElement element ) : Object
element System.Configuration.ConfigurationElement
return Object