Share via


Observable.DistinctUntilChanged Method

Include Protected Members
Include Inherited Members

Returns an observable sequence that contains only distinct contiguous elements.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member DistinctUntilChanged<TSource>(IObservable<TSource>) Returns an observable sequence that contains only distinct contiguous elements with a specified source.
Public methodStatic member DistinctUntilChanged<TSource>(IObservable<TSource>, IEqualityComparer<TSource>) Returns an observable sequence that contains only distinct contiguous elements according to the comparer.
Public methodStatic member DistinctUntilChanged<TSource, TKey>(IObservable<TSource>, Func<TSource, TKey>) Returns an observable sequence that contains only distinct contiguous elements according to the keySelector.
Public methodStatic member DistinctUntilChanged<TSource, TKey>(IObservable<TSource>, Func<TSource, TKey>, IEqualityComparer<TKey>) Returns an observable sequence that contains only distinct contiguous elements according to the keySelector and the comparer.

Top

See Also

Reference

Observable Class

System.Reactive.Linq Namespace