FormatterCollection Class

Summary

Contains a collection of NAnt.Core.Types.Formatter elements.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Types
Base Types
  • CollectionBase
graph BT Type-->Base0["CollectionBase"] Type["FormatterCollection"] class Type type-node

Syntax

[Serializable()]
public class FormatterCollection : CollectionBase

Attributes

Type Description
SerializableAttribute

Constructors

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

Properties

Name Value Summary
this[int] Formatter
Gets or sets the element at the specified index.

Methods

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