C# Класс NAnt.Core.BuildListenerCollection

Наследование: System.Collections.CollectionBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Add ( IBuildListener item ) : int

Adds a IBuildListener to the end of the collection.

AddRange ( BuildListenerCollection items ) : void

Adds the elements of a BuildListenerCollection to the end of the collection.

AddRange ( IBuildListener items ) : void

Adds the elements of a IBuildListener array to the end of the collection.

BuildListenerCollection ( ) : System

Initializes a new instance of the BuildListenerCollection class.

BuildListenerCollection ( BuildListenerCollection value ) : System

Initializes a new instance of the BuildListenerCollection class with the specified BuildListenerCollection instance.

BuildListenerCollection ( IBuildListener value ) : System

Initializes a new instance of the BuildListenerCollection class with the specified array of IBuildListener instances.

Contains ( IBuildListener item ) : bool

Determines whether a IBuildListener is in the collection.

CopyTo ( IBuildListener array, int index ) : void

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.

GetEnumerator ( ) : BuildListenerEnumerator

Returns an enumerator that can iterate through the collection.

IndexOf ( IBuildListener item ) : int

Retrieves the index of a specified IBuildListener object in the collection.

Insert ( int index, IBuildListener item ) : void

Inserts a IBuildListener into the collection at the specified index.

Remove ( IBuildListener item ) : void

Removes a member from the collection.

Приватные методы

Метод Описание
this ( int index ) : IBuildListener

Описание методов

Add() публичный Метод

Adds a IBuildListener to the end of the collection.
public Add ( IBuildListener item ) : int
item IBuildListener The to be added to the end of the collection.
Результат int

AddRange() публичный Метод

Adds the elements of a BuildListenerCollection to the end of the collection.
public AddRange ( BuildListenerCollection items ) : void
items BuildListenerCollection The to be added to the end of the collection.
Результат void

AddRange() публичный Метод

Adds the elements of a IBuildListener array to the end of the collection.
public AddRange ( IBuildListener items ) : void
items IBuildListener The array of elements to be added to the end of the collection.
Результат void

BuildListenerCollection() публичный Метод

Initializes a new instance of the BuildListenerCollection class.
public BuildListenerCollection ( ) : System
Результат System

BuildListenerCollection() публичный Метод

Initializes a new instance of the BuildListenerCollection class with the specified BuildListenerCollection instance.
public BuildListenerCollection ( BuildListenerCollection value ) : System
value BuildListenerCollection
Результат System

BuildListenerCollection() публичный Метод

Initializes a new instance of the BuildListenerCollection class with the specified array of IBuildListener instances.
public BuildListenerCollection ( IBuildListener value ) : System
value IBuildListener
Результат System

Contains() публичный Метод

Determines whether a IBuildListener is in the collection.
public Contains ( IBuildListener item ) : bool
item IBuildListener The to locate in the collection.
Результат bool

CopyTo() публичный Метод

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
public CopyTo ( IBuildListener array, int index ) : void
array IBuildListener The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
index int The zero-based index in at which copying begins.
Результат void

GetEnumerator() публичный Метод

Returns an enumerator that can iterate through the collection.
public GetEnumerator ( ) : BuildListenerEnumerator
Результат BuildListenerEnumerator

IndexOf() публичный Метод

Retrieves the index of a specified IBuildListener object in the collection.
public IndexOf ( IBuildListener item ) : int
item IBuildListener The object for which the index is returned.
Результат int

Insert() публичный Метод

Inserts a IBuildListener into the collection at the specified index.
public Insert ( int index, IBuildListener item ) : void
index int The zero-based index at which should be inserted.
item IBuildListener The to insert.
Результат void

Remove() публичный Метод

Removes a member from the collection.
public Remove ( IBuildListener item ) : void
item IBuildListener The to remove from the collection.
Результат void