TLookup<TKey,TElement>.Create<TSource>(IEnumerable<TSource>,TFunc,TFunc,IEqualityComparer) Method

Represents method Create<TSource>(IEnumerable<TSource>,TFunc,TFunc,IEqualityComparer).

Namespace: Spring.Collections.Extensions
public
 class function Create<TSource>(const source: IEnumerable<TSource>;
 const keySelector: TFunc<TSource, TKey>;
 const elementSelector: TFunc<TSource, TElement>;
 const comparer: IEqualityComparer<TKey>): TLookup<TKey, TElement>; overload; static;

Type Parameters

TSource

Parameters

source
Type: IEnumerable<TSource>

keySelector
Type: TFunc<TSource, TKey>

elementSelector
Type: TFunc<TSource, TElement>

comparer
Type: IEqualityComparer<TKey>

Return Value

Type: TLookup<TKey, TElement>