Summary
Contains a collection of
NAnt.DotNet.Types.Module
items.
- Assembly
- NAnt
.DotNet .dll - Namespace
- NAnt
.DotNet .Types - Interfaces
-
- IList
- IEnumerable
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IList"]
Type-.->Interface1["IEnumerable"]
Type["ModuleCollection"]
class Type type-node
Syntax
[Serializable()]
public class ModuleCollection : IList, IEnumerable
Remarks
Do not yet expose this to build authors.
Attributes
Type | Description |
---|---|
Serializable |
Constructors
Name | Summary |
---|---|
ModuleCollection |
Initializes a new instance of the NAnt.DotNet.Types.ModuleCollection
for the specified NAnt.DotNet.Types.ModuleSet .
|
Properties
Name | Value | Summary |
---|---|---|
Count | int |
Gets the number of items in the collection.
|
IsFixedSize | bool |
Gets a value indicating whether the collection has a fixed size.
|
IsReadOnly | bool |
Gets a value indicating whether the collection has a fixed size.
|
List | ArrayList |
Gets the list of elements contained in the
NAnt.DotNet.Types.ModuleCollection instance.
|
this[int] | Module |
Gets or sets the item at the specified index.
|
Methods
Name | Value | Summary |
---|---|---|
Add |
int |
Adds a
NAnt.DotNet.Types.Module to the end of the collection.
|
AddRange |
void |
Adds the items of a
NAnt.DotNet.Types.ModuleCollection to the end of the collection.
|
Clear |
void |
Removes all items from the collection.
|
Contains |
bool |
Determines whether a
NAnt.DotNet.Types.Module is in the collection.
|
CopyTo |
void |
Copies the items of the collection to an
System.Array ,
starting at a particular index.
|
GetEnumerator |
ModuleEnumerator |
Returns an enumerator that can iterate through the collection.
|
IndexOf |
int |
Gets the location of a
NAnt.DotNet.Types.Module in the collection.
|
Insert |
void |
Inserts a
NAnt.DotNet.Types.Module into the collection at the
specified index.
|
Remove |
void |
Removes the specified
NAnt.DotNet.Types.Module from the
collection.
|
RemoveAt |
void |
Removes an item at a specific index.
|