The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

EnumerableEx.

Duplicates<T, TValue>(IEnumerable<T>, Func<T, TValue>) Method

Summary

Returns any duplicated values from the source.
Namespace
DynamicData.Kernel
Containing Type
EnumerableEx

Syntax

public static IEnumerable<T> Duplicates<T, TValue>(this IEnumerable<T> source, Func<T, TValue> valueSelector)

Type Parameters

Name Description
T The type of the item.
TValue The type of the value.

Parameters

Name Type Description
source IEnumerable<T> The source.
valueSelector Func<T, TValue> The value selector.

Return Value

Type Description
IEnumerable<T> The enumerable of items.