Summary
Contains a collection of
NAnt.Core.Types.Option elements.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Types - Base Types
-
- CollectionBase
graph BT
Type-->Base0["CollectionBase"]
Type["OptionCollection"]
class Type type-node
Syntax
[Serializable()]
public class OptionCollection : CollectionBase
Attributes
| Type | Description |
|---|---|
| Serializable |
Constructors
| Name | Summary |
|---|---|
| OptionCollection |
Initializes a new instance of the NAnt.Core.Types.OptionCollection class.
|
| OptionCollection |
Initializes a new instance of the NAnt.Core.Types.OptionCollection class
with the specified array of NAnt.Core.Types.Option instances.
|
| OptionCollection |
Initializes a new instance of the NAnt.Core.Types.OptionCollection class
with the specified NAnt.Core.Types.OptionCollection instance.
|
Properties
| Name | Value | Summary |
|---|---|---|
| this[int] | Option |
Gets or sets the element at the specified index.
|
| this[string] | Option |
Gets the
NAnt.Core.Types.Option with the specified name.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Add |
int |
Adds a
NAnt.Core.Types.Option to the end of the collection.
|
| AddRange |
void |
Adds the elements of a
NAnt.Core.Types.Option array to the end of the collection.
|
| AddRange |
void |
Adds the elements of a
NAnt.Core.Types.OptionCollection to the end of the collection.
|
| Contains |
bool |
Determines whether a
NAnt.Core.Types.Option is in the collection.
|
| Contains |
bool |
Determines whether a
NAnt.Core.Types.Option for the specified
task 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 |
OptionEnumerator |
Returns an enumerator that can iterate through the collection.
|
| IndexOf |
int |
Retrieves the index of a specified
NAnt.Core.Types.Option object in the collection.
|
| Insert |
void |
Inserts a
NAnt.Core.Types.Option into the collection at the specified index.
|
| Remove |
void |
Removes a member from the collection.
|
