Constructor WaitUntilOrTimeOut
WaitUntilOrTimeOut(Func<bool>, bool, TimeSpan?, string, string, int)
Constructor.
Declaration
public WaitUntilOrTimeOut(Func<bool> predicate, bool failTestOnTimeout = true, TimeSpan? timeout = null, string callerMemberName = "", string callerFilePath = "", int callerLineNumber = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<bool> | predicate | The predicate to wait for. |
| bool | failTestOnTimeout | If true, the test will fail if the timeout is reached. |
| TimeSpan? | timeout | The timeout. |
| string | callerMemberName | The name of the calling method. |
| string | callerFilePath | The path of the calling file. |
| int | callerLineNumber | The line number of the calling method. |