Specifies the condition to evaluate repeatedly, and starts the entire operation.
Namespace:
MbUnit.FrameworkAssembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.459.0)
Syntax
| C# |
|---|
public static void Until( Func<bool> condition ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub Until ( _ condition As Func(Of Boolean) _ ) |
Parameters
- condition
- Type: Gallio.Common..::.Func<(Of <(Boolean>)>)
The condition to evaluate.
Remarks
The condition is considered fulfilled when it returns true.
Exceptions
| Exception | Condition |
|---|---|
| Gallio.Framework.Assertions..::.AssertionFailureException | Thrown when the condition is still false, and a timeout occured, or the maximum number of evaluation attempts was reached. |
