Summary
Contains a collection of
NAnt.Core.Types.Argument elements.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Types - Base Types
-
- CollectionBase
graph BT
Type-->Base0["CollectionBase"]
Type["ArgumentCollection"]
class Type type-node
Syntax
[Serializable()]
public class ArgumentCollection : CollectionBase
Attributes
| Type | Description |
|---|---|
| Serializable |
Constructors
| Name | Summary |
|---|---|
| ArgumentCollection |
Initializes a new instance of the NAnt.Core.Types.ArgumentCollection class.
|
| ArgumentCollection |
Initializes a new instance of the NAnt.Core.Types.ArgumentCollection class
with the specified array of NAnt.Core.Types.Argument instances.
|
| ArgumentCollection |
Initializes a new instance of the NAnt.Core.Types.ArgumentCollection class
with the specified NAnt.Core.Types.ArgumentCollection instance.
|
Properties
| Name | Value | Summary |
|---|---|---|
| this[int] | Argument |
Gets or sets the element at the specified index.
|
| this[string] | Argument |
Gets the
NAnt.Core.Types.Argument with the specified value.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Add |
int |
Adds a
NAnt.Core.Types.Argument to the end of the collection.
|
| AddRange |
void |
Adds the elements of a
NAnt.Core.Types.Argument array to the end of the collection.
|
| AddRange |
void |
Adds the elements of a
NAnt.Core.Types.ArgumentCollection to the end of the collection.
|
| Contains |
bool |
Determines whether a
NAnt.Core.Types.Argument is in the collection.
|
| Contains |
bool |
Determines whether a
NAnt.Core.Types.Argument with the specified
value is in the collection.
|
| CopyTo |
void |
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
|
| GetEnumerator |
ArgumentEnumerator |
Returns an enumerator that can iterate through the collection.
|
| IndexOf |
int |
Retrieves the index of a specified
NAnt.Core.Types.Argument object in the collection.
|
| Insert |
void |
Inserts a
NAnt.Core.Types.Argument into the collection at the specified index.
|
| Remove |
void |
Removes a member from the collection.
|
| ToString |
string |
