NAnt SDK Documentation - v0.92 |

# NUnit2TestCollection Class

Contains a strongly typed collection of NUnit2Test objects.

For a list of all members of this type, see NUnit2TestCollection Members.

System.Object
System.Collections.CollectionBase
NAnt.NUnit2.Types.NUnit2TestCollection

[Visual Basic]
<Serializable, _ Serializable, _ DefaultMember(MemberName:="Item")>
Public Class NUnit2TestCollection
Inherits CollectionBase
[C#]
[Serializable]
[Serializable]
[DefaultMember(MemberName="Item")]
public class NUnit2TestCollection : CollectionBase

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Requirements

Namespace: NAnt.NUnit2.Types

Assembly: NAnt.NUnit2Tasks (in NAnt.NUnit2Tasks.dll)

#### See Also

NUnit2TestCollection Members | NAnt.NUnit2.Types Namespace