C# Class FiftyOne.Foundation.Mobile.Configuration.UrlCollection

A collection of UrlCollection. This class cannot be inherited.
Inheritance: System.Configuration.ConfigurationElementCollection
Afficher le fichier Open project: 51Degrees/dotNET-Device-Detection

Méthodes publiques

Méthode Description
Add ( UrlElement element ) : void

Add element into the collection.

Clear ( ) : void

Removes all configuration elements from the collection.

IndexOf ( UrlElement element ) : int

Gets the index of the specific element inside the collection.

Remove ( UrlElement element ) : void

Removes a UrlElement from the collection.

Remove ( string url ) : void

Removes a System.Configuration.ConfigurationElement from the collection.

RemoveAt ( int index ) : void

Removes a UrlElement at the specified index location.

this ( int index ) : UrlElement

Gets or sets the UrlElement.

this ( string name ) : UrlElement

Gets or sets the UrlElement.

Méthodes protégées

Méthode Description
BaseAdd ( ConfigurationElement element ) : void

Add element to the base collection.

CreateNewElement ( ) : ConfigurationElement

Creates a new instance of UrlElement.

GetElementKey ( ConfigurationElement element ) : Object

Gets the element key value.

Method Details

Add() public méthode

Add element into the collection.
thrown if equals null.
public Add ( UrlElement element ) : void
element UrlElement a to add to the collection.
Résultat void

BaseAdd() protected méthode

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

Clear() public méthode

Removes all configuration elements from the collection.
public Clear ( ) : void
Résultat void

CreateNewElement() protected méthode

Creates a new instance of UrlElement.
protected CreateNewElement ( ) : ConfigurationElement
Résultat System.Configuration.ConfigurationElement

GetElementKey() protected méthode

Gets the element key value.
protected GetElementKey ( ConfigurationElement element ) : Object
element System.Configuration.ConfigurationElement
Résultat Object

IndexOf() public méthode

Gets the index of the specific element inside the collection.
thrown if equals null.
public IndexOf ( UrlElement element ) : int
element UrlElement a to locate in the the collection.
Résultat int

Remove() public méthode

Removes a UrlElement from the collection.
thrown if equals null.
public Remove ( UrlElement element ) : void
element UrlElement a to remove from the collection.
Résultat void

Remove() public méthode

Removes a System.Configuration.ConfigurationElement from the collection.
thrown if equals null.
public Remove ( string url ) : void
url string Url of the element in the collection to remove.
Résultat void

RemoveAt() public méthode

Removes a UrlElement at the specified index location.
Thrown if is less than zero or bigger than the number of indexes on the collections.
public RemoveAt ( int index ) : void
index int Index of the element to remove in the collection.
Résultat void

this() public méthode

Gets or sets the UrlElement.
public this ( int index ) : UrlElement
index int
Résultat UrlElement

this() public méthode

Gets or sets the UrlElement.
public this ( string name ) : UrlElement
name string
Résultat UrlElement