Method SwitchIfNotDefault
SwitchIfNotDefault<TIn, TOut>(IObservable<TIn>, Func<TIn, IObservable<TOut>>, Func<IObservable<TOut>>)
Declaration
public static IObservable<TOut> SwitchIfNotDefault<TIn, TOut>(this IObservable<TIn> observable, Func<TIn, IObservable<TOut>> trueSelector, Func<IObservable<TOut>> falseSelector)
Parameters
Returns
Type Parameters
Name |
Description |
TIn |
|
TOut |
|
SwitchIfNotDefault<TIn, TOut>(IObservable<TIn>, Func<TIn, IObservable<TOut>>)
Declaration
public static IObservable<TOut> SwitchIfNotDefault<TIn, TOut>(this IObservable<TIn> observable, Func<TIn, IObservable<TOut>> selector)
Parameters
Returns
Type Parameters
Name |
Description |
TIn |
|
TOut |
|