Class ExecutionHookAttribute
Abstract base attribute class for activating execution hooks.
Inherited Members
Namespace: NUnit.Framework
Assembly: nunit.framework.dll
Syntax
public abstract class ExecutionHookAttribute : ExecutionHookMethodsAttribute, IWrapTestMethod, ICommandWrapper, IApplyToContext
Constructors
View SourceExecutionHookAttribute()
Declaration
protected ExecutionHookAttribute()
Methods
View SourceApplyToContext(TestExecutionContext)
Apply changes to the execution context
Declaration
public void ApplyToContext(TestExecutionContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TestExecutionContext | context | The execution context |
Wrap(TestCommand)
Wrap a command and return the result.
Declaration
public TestCommand Wrap(TestCommand command)
Parameters
| Type | Name | Description |
|---|---|---|
| TestCommand | command | The command to be wrapped |
Returns
| Type | Description |
|---|---|
| TestCommand | The wrapped command |