C# Класс Castle.Core.LifecycleStepCollection

Наследование: ICollection
Показать файл Открыть проект

Открытые методы

Метод Описание
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