While__1 - waf/Rx.NET GitHub Wiki
Generates an enumerable sequence by repeating a source sequence as long as the given loop condition holds.
Namespace: System.Linq
Assembly: System.Interactive (in System.Interactive.dll)
public static IEnumerable<TResult> While<TResult>(
Func<bool> condition,
IEnumerable<TResult> source
)
Type: System.Func<Boolean>
Loop condition.
Type: System.Collections.Generic.IEnumerable<TResult>
Sequence to repeat while the condition evaluates true.
Result sequence element type.
Type: IEnumerable<TResult>
Sequence generated by repeating the given sequence while the condition evaluates to true.