Specifies the condition to evaluate repeatedly, and starts the entire operation.

Namespace:  MbUnit.Framework
Assembly:  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

ExceptionCondition
Gallio.Framework.Assertions..::.AssertionFailureExceptionThrown when the condition is still false, and a timeout occured, or the maximum number of evaluation attempts was reached.

See Also