Freigeben über


Observable.While<TSource>-Methode

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

Syntax

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

Typparameter

  • TSource

Parameter

Rückgabewert

Typ: System.IObservable<TSource>

Versionsinformationen

.NET für Windows Phone-Apps

Unterstützt in: Windows Phone 8, Silverlight 8.1

.NET Framework-Sicherheit

Siehe auch

Referenz

Observable Klasse

Microsoft.Phone.Reactive-Namespace