Share via


Observable.DoWhile<TSource> Method

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

Syntax

'Declaration
Public Shared Function DoWhile(Of TSource) ( _
    condition As Func(Of Boolean), _
    source As IObservable(Of TSource) _
) As IObservable(Of TSource)
public static IObservable<TSource> DoWhile<TSource>(
    Func<bool> condition,
    IObservable<TSource> source
)
public:
generic<typename TSource>
static IObservable<TSource>^ DoWhile(
    Func<bool>^ condition, 
    IObservable<TSource>^ source
)
static member DoWhile : 
        condition:Func<bool> * 
        source:IObservable<'TSource> -> IObservable<'TSource> 

Type Parameters

  • TSource

Parameters

Return Value

Type: System.IObservable<TSource>

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

.NET Framework Security

See Also

Reference

Observable Class

Microsoft.Phone.Reactive Namespace