FilterCollection Class

Summary

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

Syntax

[Serializable()]
public class FilterCollection : CollectionBase

Attributes

Type Description
SerializableAttribute

Constructors

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

Properties

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

Methods

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