NAnt SDK Documentation - v0.92 |

# NUnit2TestCollection Constructor

Initializes a new instance of the NUnit2TestCollection class.

#### Overload List

Initializes a new instance of the NUnit2TestCollection class.

> public NUnit2TestCollection();

Initializes a new instance of the NUnit2TestCollection class with the specified array of NUnit2Test instances.

> public NUnit2TestCollection(NUnit2Test[]);

Initializes a new instance of the NUnit2TestCollection class with the specified NUnit2TestCollection instance.

> public NUnit2TestCollection(NUnit2TestCollection);

#### See Also

NUnit2TestCollection Class | NAnt.NUnit2.Types Namespace