Click or drag to resize

ToLookupExtension Class

ToLookup extension.
Inheritance Hierarchy
System.Object
  MoreLinq.Extensions.ToLookupExtension

Namespace:  MoreLinq.Extensions
Assembly:  MoreLinq (in MoreLinq.dll) Version: 3.2.0+5205ea241d72b079436060d330cd5c2eae7cdcdf
Syntax
public static class ToLookupExtension
Methods
  NameDescription
Public methodStatic memberToLookup<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValue>>)
Public methodStatic memberToLookup<TKey, TValue>(IEnumerable<ValueTuple<TKey, TValue>>)
Public methodStatic memberToLookup<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValue>>, IEqualityComparer<TKey>)
Public methodStatic memberToLookup<TKey, TValue>(IEnumerable<ValueTuple<TKey, TValue>>, IEqualityComparer<TKey>)
Creates a Lookup<TKey, TElement> from a sequence of tuples of 2 where the first item is the key and the second the value. An additional parameter specifies a comparer for keys.
Top
See Also