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

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

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

Type Parameters

TSource

Parameters

source
Type: IEnumerable<TSource>

keySelector
Type: TFunc<TSource, TKey>

elementSelector
Type: TFunc<TSource, TElement>

Return Value

Type: TLookup<TKey, TElement>