C# 클래스 Castle.Core.LifecycleStepCollection

상속: ICollection
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
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.

메소드 상세

Add() 공개 메소드

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

CopyTo() 공개 메소드

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.
리턴 void

GetCommissionSteps() 공개 메소드

Returns all steps for the commission phase
public GetCommissionSteps ( ) : object[]
리턴 object[]

GetDecommissionSteps() 공개 메소드

Returns all steps for the decommission phase
public GetDecommissionSteps ( ) : object[]
리턴 object[]

GetEnumerator() 공개 메소드

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

LifecycleStepCollection() 공개 메소드

Initializes a new instance of the LifecycleStepCollection class.
public LifecycleStepCollection ( ) : System
리턴 System