TEnumerable.DistinctBy<T,TKey>(IEnumerable<T>,TFunc) Method

Represents method DistinctBy<T,TKey>(IEnumerable<T>,TFunc).

Namespace: Spring.Collections
public
 class function DistinctBy<T, TKey>(const source: IEnumerable<T>;
 const keySelector: TFunc<T, TKey>): IEnumerable<T>; overload; static;

Type Parameters

T
TKey

Parameters

source
Type: IEnumerable<T>

keySelector
Type: TFunc<T, TKey>

Return Value

Type: IEnumerable<T>