Class LevelOfParallelismAttribute
Sets the number of worker threads that may be allocated by the framework for running tests.
Implements
Inherited Members
Namespace: NUnit.Framework
Assembly: nunit.framework.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
public sealed class LevelOfParallelismAttribute : PropertyAttribute, IApplyToTestConstructors
View SourceLevelOfParallelismAttribute(int)
Construct a LevelOfParallelismAttribute.
Declaration
public LevelOfParallelismAttribute(int level)Parameters
| Type | Name | Description | 
|---|---|---|
| int | level | The number of worker threads to be created by the framework. |