NUnitTestCollection Class

Summary

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

Syntax

[Serializable]
public class NUnitTestCollection : CollectionBase

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
NUnitTestCollection() Initializes a new instance of the NAnt.NUnit1.Types.NUnitTestCollection class.
NUnitTestCollection(NUnitTest[]) Initializes a new instance of the NAnt.NUnit1.Types.NUnitTestCollection class with the specified array of NAnt.NUnit1.Types.NUnitTest instances.
NUnitTestCollection(NUnitTestCollection) Initializes a new instance of the NAnt.NUnit1.Types.NUnitTestCollection class with the specified NAnt.NUnit1.Types.NUnitTestCollection instance.

Properties

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

Methods

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