C# Class Castle.Core.Configuration.ConfigurationCollection

Inheritance: System.Collections.ReadOnlyCollectionBase
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
Add ( IConfiguration value ) : IConfiguration

Adds an IConfiguration.

AddRange ( ConfigurationCollection value ) : void

Adds a ConfigurationCollection.

AddRange ( IConfiguration value ) : void

Adds an array of IConfiguration.

ConfigurationCollection ( ) : System

Creates a new instance of ConfigurationCollection.

ConfigurationCollection ( ConfigurationCollection value ) : System

Creates a new instance of ConfigurationCollection.

ConfigurationCollection ( IConfiguration value ) : System

Creates a new instance of ConfigurationCollection.

Contains ( IConfiguration value ) : bool

Gets a value indicating whether the IConfiguration contains in the collection.

CopyTo ( IConfiguration array, int index ) : void

Copies the elements to a one-dimensional Array instance at the specified index.

Remove ( IConfiguration value ) : void

Removes a specific IConfiguration from the collection.

this ( String name ) : IConfiguration
this ( int index ) : IConfiguration

Represents the entry at the specified index of the IConfiguration.

Method Details

Add() public method

Adds an IConfiguration.
public Add ( IConfiguration value ) : IConfiguration
value IConfiguration The to add.
return IConfiguration

AddRange() public method

Adds a ConfigurationCollection.
public AddRange ( ConfigurationCollection value ) : void
value ConfigurationCollection The to add.
return void

AddRange() public method

Adds an array of IConfiguration.
public AddRange ( IConfiguration value ) : void
value IConfiguration The Array of to add.
return void

ConfigurationCollection() public method

Creates a new instance of ConfigurationCollection.
public ConfigurationCollection ( ) : System
return System

ConfigurationCollection() public method

Creates a new instance of ConfigurationCollection.
public ConfigurationCollection ( ConfigurationCollection value ) : System
value ConfigurationCollection
return System

ConfigurationCollection() public method

Creates a new instance of ConfigurationCollection.
public ConfigurationCollection ( IConfiguration value ) : System
value IConfiguration
return System

Contains() public method

Gets a value indicating whether the IConfiguration contains in the collection.
public Contains ( IConfiguration value ) : bool
value IConfiguration The to locate.
return bool

CopyTo() public method

Copies the elements to a one-dimensional Array instance at the specified index.
public CopyTo ( IConfiguration array, int index ) : void
array IConfiguration /// The one-dimensional must have zero-based indexing. ///
index int The zero-based index in array at which copying begins.
return void

Remove() public method

Removes a specific IConfiguration from the collection.
/// is not found in the collection. ///
public Remove ( IConfiguration value ) : void
value IConfiguration The to remove from the collection.
return void

this() public method

public this ( String name ) : IConfiguration
name String
return IConfiguration

this() public method

Represents the entry at the specified index of the IConfiguration.
/// is outside the valid range of indexes for the collection. ///
public this ( int index ) : IConfiguration
index int /// The zero-based index of the entry to locate in the collection. ///
return IConfiguration