ToLookupExtension Class |
Namespace: MoreLinq.Extensions
Name | Description | |
---|---|---|
![]() ![]() | ToLookup<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValue>>) |
Creates a ILookup<TKey, TElement> from a sequence of
KeyValuePair<TKey, TValue> elements.
|
![]() ![]() | ToLookup<TKey, TValue>(IEnumerable<ValueTuple<TKey, TValue>>) |
Creates a Lookup<TKey, TElement> from a sequence of
tuples of 2 where the first item is the key and the second the
value.
|
![]() ![]() | ToLookup<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValue>>, IEqualityComparer<TKey>) |
Creates a ILookup<TKey, TElement> from a sequence of
KeyValuePair<TKey, TValue> elements. An additional
parameter specifies a comparer for keys.
|
![]() ![]() | ToLookup<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.
|