CategoryCollection Class

Summary

Contains a collection of NAnt.NUnit2.Types.Category elements.
Assembly
NAnt.NUnit2.dll
Namespace
NAnt.NUnit2.Types
Base Types
graph BT Type-->Base0["Collection<Category>"] Type["CategoryCollection"] class Type type-node

Syntax

[Serializable()]
public class CategoryCollection : Collection<Category>

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
CategoryCollection() Initializes a new instance of the NAnt.NUnit2.Types.CategoryCollection class.
CategoryCollection(Category[]) Initializes a new instance of the NAnt.NUnit2.Types.CategoryCollection class with the specified array of NAnt.NUnit2.Types.Category instances.
CategoryCollection(CategoryCollection) Initializes a new instance of the NAnt.NUnit2.Types.CategoryCollection class with the specified NAnt.NUnit2.Types.CategoryCollection instance.
CategoryCollection(IList<Category>) Initializes a new instance of the NAnt.NUnit2.Types.CategoryCollection class as a wrapper for the specified list.

Properties

Name Value Summary
this[string] Category
Gets the NAnt.NUnit2.Types.Category with the specified name.

Methods

Name Value Summary
AddRange(IEnumerable<Category>) void
Adds the elements of a NAnt.NUnit2.Types.Category array to the end of the collection.
ToString() string
Returns a comma-delimited list of categories.