Associates a category with the test component annotated by this attribute.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public CategoryAttribute(
	string category
)
Visual Basic (Declaration)
Public Sub New ( _
	category As String _
)

Parameters

category
Type: System..::.String
The name of the category to associate.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown if category is null.

See Also