Click or drag to resize

IEnumerableExtensionsDistinctByT, TKey Method

[Missing <summary> documentation for "M:Casewhere.Common.IEnumerableExtensions.DistinctBy``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})"]

Namespace:  Casewhere.Common
Assembly:  Casewhere.Common (in Casewhere.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static IEnumerable<T> DistinctBy<T, TKey>(
	this IEnumerable<T> source,
	Func<T, TKey> keySelector
)

Parameters

source
Type: System.Collections.GenericIEnumerableT

[Missing <param name="source"/> documentation for "M:Casewhere.Common.IEnumerableExtensions.DistinctBy``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})"]

keySelector
Type: SystemFuncT, TKey

[Missing <param name="keySelector"/> documentation for "M:Casewhere.Common.IEnumerableExtensions.DistinctBy``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Casewhere.Common.IEnumerableExtensions.DistinctBy``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})"]

TKey

[Missing <typeparam name="TKey"/> documentation for "M:Casewhere.Common.IEnumerableExtensions.DistinctBy``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})"]

Return Value

Type: IEnumerableT

[Missing <returns> documentation for "M:Casewhere.Common.IEnumerableExtensions.DistinctBy``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also