C# Class NAnt.Core.BuildListenerCollection

Inheritance: System.Collections.CollectionBase
Afficher le fichier Open project: skolima/NAnt Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
this ( int index ) : IBuildListener

Method Details

Add() public méthode

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

AddRange() public méthode

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

AddRange() public méthode

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

BuildListenerCollection() public méthode

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

BuildListenerCollection() public méthode

Initializes a new instance of the BuildListenerCollection class with the specified BuildListenerCollection instance.
public BuildListenerCollection ( BuildListenerCollection value ) : System
value BuildListenerCollection
Résultat System

BuildListenerCollection() public méthode

Initializes a new instance of the BuildListenerCollection class with the specified array of IBuildListener instances.
public BuildListenerCollection ( IBuildListener value ) : System
value IBuildListener
Résultat System

Contains() public méthode

Determines whether a IBuildListener is in the collection.
public Contains ( IBuildListener item ) : bool
item IBuildListener The to locate in the collection.
Résultat bool

CopyTo() public méthode

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

GetEnumerator() public méthode

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

IndexOf() public méthode

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

Insert() public méthode

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

Remove() public méthode

Removes a member from the collection.
public Remove ( IBuildListener item ) : void
item IBuildListener The to remove from the collection.
Résultat void