Share via


Observable.ToDictionary Method

Include Protected Members
Include Inherited Members

Creates a dictionary from an observable sequence.

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 ToDictionary<TSource, TKey>(IObservable<TSource>, Func<TSource, TKey>) Creates a dictionary from an observable sequence according to a specified key selector function.
Public methodStatic member ToDictionary<TSource, TKey>(IObservable<TSource>, Func<TSource, TKey>, IEqualityComparer<TKey>) Creates a dictionary from an observable sequence according to a specified key selector function, and a comparer.
Public methodStatic member ToDictionary<TSource, TKey, TElement>(IObservable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>) Creates a dictionary from an observable sequence according to a specified key selector function, and an element selector function.
Public methodStatic member ToDictionary<TSource, TKey, TElement>(IObservable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>, IEqualityComparer<TKey>) Creates a dictionary from an observable sequence according to a specified key selector function, a comparer, and an element selector function.

Top

See Also

Reference

Observable Class

System.Reactive.Linq Namespace