InvokingExtensions Class
Definition
Extension methods that wrap actions on a value for assertion testing.
public static class InvokingExtensions
Methods
| Name | Description |
|---|---|
Awaiting<T>(T, Func<T, Task>) |
Wraps an async action on the specified value for assertion testing. |
Awaiting<T, TResult>(T, Func<T, Task<TResult>>) |
Wraps an async function on the specified value for assertion testing, discarding the return value. |
Invoking<T>(T, Action<T>) |
Wraps an action on the specified value for assertion testing. |
Invoking<T, TResult>(T, Func<T, TResult>) |
Wraps a function on the specified value as an action for assertion testing, discarding the return value. |