Associates a category with the test component annotated by this attribute.
Namespace:
MbUnit.FrameworkAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if category is null. |
