TEnumerable.GroupBy<T,TKey,TElement,TResult>(IEnumerable<T>,TFunc,TFunc,TFunc) Method

Represents method GroupBy<T,TKey,TElement,TResult>(IEnumerable<T>,TFunc,TFunc,TFunc).

Namespace: Spring.Collections
public
 class function GroupBy<T, TKey, TElement, TResult>(const source: IEnumerable<T>;
 const keySelector: TFunc<T, TKey>; const elementSelector: TFunc<T, TElement>;
 const resultSelector: TFunc<TKey, IEnumerable<TElement>, TResult>): IEnumerable<TResult>; overload; static;

Type Parameters

T
TKey
TElement
TResult

Parameters

source
Type: IEnumerable<T>

keySelector
Type: TFunc<T, TKey>

elementSelector
Type: TFunc<T, TElement>

resultSelector
Type: TFunc<TKey, IEnumerable<TElement>, TResult>

Return Value

Type: IEnumerable<TResult>