C# Class Castle.Core.LifecycleStepCollection

Inheritance: ICollection
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
Add ( LifecycleStepType type, object stepImplementation ) : void

Adds a step to the commission or decomission phases.

CopyTo ( Array array, int index ) : void

Copies the elements of the T:System.Collections.ICollection to an T:System.Array, starting at a particular T:System.Array index.

GetCommissionSteps ( ) : object[]

Returns all steps for the commission phase

GetDecommissionSteps ( ) : object[]

Returns all steps for the decommission phase

GetEnumerator ( ) : IEnumerator

Returns an enumerator that can iterate through a collection.

LifecycleStepCollection ( ) : System

Initializes a new instance of the LifecycleStepCollection class.

Method Details

Add() public méthode

Adds a step to the commission or decomission phases.
public Add ( LifecycleStepType type, object stepImplementation ) : void
type LifecycleStepType
stepImplementation object
Résultat void

CopyTo() public méthode

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.
Résultat void

GetCommissionSteps() public méthode

Returns all steps for the commission phase
public GetCommissionSteps ( ) : object[]
Résultat object[]

GetDecommissionSteps() public méthode

Returns all steps for the decommission phase
public GetDecommissionSteps ( ) : object[]
Résultat object[]

GetEnumerator() public méthode

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

LifecycleStepCollection() public méthode

Initializes a new instance of the LifecycleStepCollection class.
public LifecycleStepCollection ( ) : System
Résultat System