Method RegisterCallbacks
RegisterCallbacks<T>(T, int)
Sets up a given instance of ICallbacks to be invoked on test runs.
Declaration
public void RegisterCallbacks<T>(T testCallbacks, int priority = 0) where T : ICallbacks
Parameters
| Type | Name | Description |
|---|---|---|
| T | testCallbacks | The test callbacks to be invoked. |
| int | priority | Sets the order in which the callbacks are invoked, starting with the highest value first. |
Type Parameters
| Name | Description |
|---|---|
| T | Generic representing a type of callback. |