TaskBuilderCollection Class

Summary

Contains a strongly typed collection of NAnt.Core.TaskBuilder objects.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Base Types
  • CollectionBase
graph BT Type-->Base0["CollectionBase"] Type["TaskBuilderCollection"] class Type type-node

Syntax

[Serializable]
public class TaskBuilderCollection : CollectionBase

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
TaskBuilderCollection() Initializes a new instance of the NAnt.Core.TaskBuilderCollection class.
TaskBuilderCollection(TaskBuilder[]) Initializes a new instance of the NAnt.Core.TaskBuilderCollection class with the specified array of NAnt.Core.TaskBuilder instances.
TaskBuilderCollection(TaskBuilderCollection) Initializes a new instance of the NAnt.Core.TaskBuilderCollection class with the specified NAnt.Core.TaskBuilderCollection instance.

Properties

Name Value Summary
this[int] TaskBuilder
Gets or sets the element at the specified index.
this[string] TaskBuilder
Gets the NAnt.Core.TaskBuilder for the specified task.

Methods

Name Value Summary
Add(TaskBuilder) int
Adds a NAnt.Core.TaskBuilder to the end of the collection.
AddRange(TaskBuilder[]) void
Adds the elements of a NAnt.Core.TaskBuilder array to the end of the collection.
AddRange(TaskBuilderCollection) void
Adds the elements of a NAnt.Core.TaskBuilderCollection to the end of the collection.
Contains(string) bool
Determines whether a NAnt.Core.TaskBuilder for the specified task is in the collection.
Contains(TaskBuilder) bool
Determines whether a NAnt.Core.TaskBuilder is in the collection.
CopyTo(TaskBuilder[], int) void
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
GetEnumerator() TaskBuilderEnumerator
Returns an enumerator that can iterate through the collection.
IndexOf(TaskBuilder) int
Retrieves the index of a specified NAnt.Core.TaskBuilder object in the collection.
Insert(int, TaskBuilder) void
Inserts a NAnt.Core.TaskBuilder into the collection at the specified index.
Remove(TaskBuilder) void
Removes a member from the collection.