Waits for a value which pases provided assertions.
public sealed class WaitUntilAssertable<T>
where T : class
name | description |
---|---|
Value { get; } | Synchronously waits for an appropiate value. |
Apply<TResult>(…) | Applies a transform to the assertion we will wait for. |
Context(…) | Adds informational context to all assertions made using this chain. (5 methods) |
Context<TValue>(…) | Adds informational context to all assertions made using this chain. |
DoesNotThrow(…) | Asserts that assertionExpression does not throw an exception and allows chaining further asserts on the current value. |
GetAwaiter() | Starts waiting. |
HasValue<TResult>(…) | Asserts that mapExpression does not return null and allows chaining further asserts on that TResult value. (2 methods) |
IsTrue(…) | Asserts that predicateExpression does not return false and allows chaining further asserts on the current value. |
WithTimeout(…) | Returns a new WaitUntilAssertable{T} with the specified timeout |
implicit operator | (2 operators) |