C# Class Castle.Core.InterceptorReferenceCollection

Inheritance: ICollection
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
Add ( InterceptorReference interceptor ) : void

Adds the specified interceptor.

AddFirst ( InterceptorReference interceptor ) : void

Adds the the specified interceptor as the first.

AddLast ( InterceptorReference interceptor ) : void

Adds the the specified interceptor as the last.

CopyTo ( Array array, int index ) : void

When implemented by a class, copies the elements of the T:System.Collections.ICollection to an T:System.Array, starting at a particular T:System.Array index.

GetEnumerator ( ) : IEnumerator

Returns an enumerator that can iterate through a collection.

Insert ( int index, InterceptorReference interceptor ) : void

Inserts the specified interceptor at the specified index.

Method Details

Add() public method

Adds the specified interceptor.
public Add ( InterceptorReference interceptor ) : void
interceptor InterceptorReference The interceptor.
return void

AddFirst() public method

Adds the the specified interceptor as the first.
public AddFirst ( InterceptorReference interceptor ) : void
interceptor InterceptorReference The interceptor.
return void

AddLast() public method

Adds the the specified interceptor as the last.
public AddLast ( InterceptorReference interceptor ) : void
interceptor InterceptorReference The interceptor.
return void

CopyTo() public method

When implemented by a class, copies the elements of the T:System.Collections.ICollection to an T:System.Array, starting at a particular T:System.Array index.
/// is . /// is less than zero. /// /// is multidimensional. /// -or- /// /// is equal to or greater than the length of . /// -or- /// The number of elements in the source is greater than the available space from to the end of the destination . /// The type of the source cannot be cast automatically to the type of the destination .
public CopyTo ( Array array, int index ) : void
array System.Array The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
index int The zero-based index in at which copying begins.
return void

GetEnumerator() public method

Returns an enumerator that can iterate through a collection.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

Insert() public method

Inserts the specified interceptor at the specified index.
public Insert ( int index, InterceptorReference interceptor ) : void
index int The index.
interceptor InterceptorReference The interceptor.
return void