Method SwitchCollectionIfNotDefault
SwitchCollectionIfNotDefault<TIn, TOut, TKey>(IObservable<TIn>, Func<TIn, IObservableCache<TOut, TKey>>)
Declaration
public static IObservable<IChangeSet<TOut, TKey>> SwitchCollectionIfNotDefault<TIn, TOut, TKey>(this IObservable<TIn> observable, Func<TIn, IObservableCache<TOut, TKey>> trueSelector)
Parameters
Type |
Name |
Description |
IObservable<TIn> |
observable |
|
Func<TIn, IObservableCache<TOut, TKey>> |
trueSelector |
|
Returns
Type Parameters
Name |
Description |
TIn |
|
TOut |
|
TKey |
|
SwitchCollectionIfNotDefault<TIn, TOut>(IObservable<TIn>, Func<TIn, IObservableList<TOut>>)
Declaration
public static IObservable<IChangeSet<TOut>> SwitchCollectionIfNotDefault<TIn, TOut>(this IObservable<TIn> observable, Func<TIn, IObservableList<TOut>> trueSelector)
Parameters
Type |
Name |
Description |
IObservable<TIn> |
observable |
|
Func<TIn, IObservableList<TOut>> |
trueSelector |
|
Returns
Type Parameters
Name |
Description |
TIn |
|
TOut |
|