BuildListenerCollection Class

Summary

Contains a strongly typed collection of NAnt.Core.IBuildListener objects.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Base Types
  • CollectionBase
graph BT Type-->Base0["CollectionBase"] Type["BuildListenerCollection"] class Type type-node

Syntax

[Serializable()]
public class BuildListenerCollection : CollectionBase

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
BuildListenerCollection() Initializes a new instance of the NAnt.Core.BuildListenerCollection class.
BuildListenerCollection(BuildListenerCollection) Initializes a new instance of the NAnt.Core.BuildListenerCollection class with the specified NAnt.Core.BuildListenerCollection instance.
BuildListenerCollection(IBuildListener[]) Initializes a new instance of the NAnt.Core.BuildListenerCollection class with the specified array of NAnt.Core.IBuildListener instances.

Properties

Name Value Summary
this[int] IBuildListener
Gets or sets the element at the specified index.

Methods

Name Value Summary
Add(IBuildListener) int
Adds a NAnt.Core.IBuildListener to the end of the collection.
AddRange(BuildListenerCollection) void
Adds the elements of a NAnt.Core.BuildListenerCollection to the end of the collection.
AddRange(IBuildListener[]) void
Adds the elements of a NAnt.Core.IBuildListener array to the end of the collection.
Contains(IBuildListener) bool
Determines whether a NAnt.Core.IBuildListener is in the collection.
CopyTo(IBuildListener[], int) 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) int
Retrieves the index of a specified NAnt.Core.IBuildListener object in the collection.
Insert(int, IBuildListener) void
Inserts a NAnt.Core.IBuildListener into the collection at the specified index.
Remove(IBuildListener) void
Removes a member from the collection.