Metodo Observable.If<TResult>

Spazio dei nomi:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

public static IObservable<TResult> If<TResult>(
	Func<bool> condition,
	IObservable<TResult> thenSource,
	IObservable<TResult> elseSource
)

Parametri di tipo

TResult

Parametri

condition
Tipo: System.Func<Boolean>
thenSource
Tipo: System.IObservable<TResult>
elseSource
Tipo: System.IObservable<TResult>

Valore restituito

Tipo: System.IObservable<TResult>

.NET per applicazioni Windows Phone

Supportato in: Windows Phone 8, Silverlight 8.1

Mostra: