Method WithPrevious
WithPrevious<TSource, TResult>(IObservable<TSource>, Func<TSource, TSource, TResult>)
Declaration
public static IObservable<TResult> WithPrevious<TSource, TResult>(this IObservable<TSource> source, Func<TSource, TSource, TResult> resultSelector)
Parameters
Type |
Name |
Description |
IObservable<TSource> |
source |
|
Func<TSource, TSource, TResult> |
resultSelector |
|
Returns
Type Parameters
Name |
Description |
TSource |
|
TResult |
|
WithPrevious<TSource>(IObservable<TSource>)
Declaration
public static IObservable<(TSource Previous, TSource Current)> WithPrevious<TSource>(this IObservable<TSource> source)
Parameters
Returns
Type Parameters