Share via


Observable.Distinct Method

Include Protected Members
Include Inherited Members

Returns an observable sequence that contains only distinct 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 Distinct<TSource>(IObservable<TSource>) Returns an observable sequence that contains only distinct elements with a specified source.
Public methodStatic member Distinct<TSource>(IObservable<TSource>, IEqualityComparer<TSource>) Returns an observable sequence that contains only distinct elements according to the comparer.
Public methodStatic member Distinct<TSource, TKey>(IObservable<TSource>, Func<TSource, TKey>) Returns an observable sequence that contains only distinct elements according to the keySelector.
Public methodStatic member Distinct<TSource, TKey>(IObservable<TSource>, Func<TSource, TKey>, IEqualityComparer<TKey>) Returns an observable sequence that contains only distinct elements according to the keySelector.

Top

See Also

Reference

Observable Class

System.Reactive.Linq Namespace