ArgumentCollection Class

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
SerializableAttribute

Constructors

Name Summary
ArgumentCollection() Initializes a new instance of the NAnt.Core.Types.ArgumentCollection class.
ArgumentCollection(Argument[]) Initializes a new instance of the NAnt.Core.Types.ArgumentCollection class with the specified array of NAnt.Core.Types.Argument instances.
ArgumentCollection(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(Argument) int
Adds a NAnt.Core.Types.Argument to the end of the collection.
AddRange(Argument[]) void
Adds the elements of a NAnt.Core.Types.Argument array to the end of the collection.
AddRange(ArgumentCollection) void
Adds the elements of a NAnt.Core.Types.ArgumentCollection to the end of the collection.
Contains(Argument) bool
Determines whether a NAnt.Core.Types.Argument is in the collection.
Contains(string) bool
Determines whether a NAnt.Core.Types.Argument with the specified value is in the collection.
CopyTo(Argument[], int) 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(Argument) int
Retrieves the index of a specified NAnt.Core.Types.Argument object in the collection.
Insert(int, Argument) void
Inserts a NAnt.Core.Types.Argument into the collection at the specified index.
Remove(Argument) void
Removes a member from the collection.
ToString() string