NAnt SDK Documentation - v0.92

ModuleCollection Members

ModuleCollection overview

Public Instance Constructors

ModuleCollection Constructor Initializes a new instance of the ModuleCollection for the specified ModuleSet.

Public Instance Properties

Count Gets the number of items in the collection.
IsFixedSize Gets a value indicating whether the collection has a fixed size.
IsReadOnly Gets a value indicating whether the collection has a fixed size.
Item Gets or sets the item at the specified index.

Public Instance Methods

Add Adds a Module to the end of the collection.
AddRange Adds the items of a ModuleCollection to the end of the collection.
Clear Removes all items from the collection.
Contains Determines whether a Module is in the collection.
CopyTo Copies the items of the collection to an Array, starting at a particular index.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through the collection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Gets the location of a Module in the collection.
Insert Inserts a Module into the collection at the specified index.
Remove Removes the specified Module from the collection.
RemoveAt Removes an item at a specific index.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

List Gets the list of elements contained in the ModuleCollection instance.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ModuleCollection Class | NAnt.DotNet.Types Namespace