Observable.DoWhile<TSource> Method

March 22, 2012

Repeats source as long as condition holds.

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

public static IObservable<TSource> DoWhile<TSource>(
	Func<bool> condition,
	IObservable<TSource> source
)

Type Parameters

TSource

Parameters

condition
Type: System.Func<Boolean>
source
Type: System.IObservable<TSource>

Return Value

Type: System.IObservable<TSource>
Returns IObservable<T>.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Show: