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

EnumerableEx.

IndexOfMany<TObject, TResult>(IEnumerable<TObject>, IEnumerable<TObject>, Func<TObject, int, TResult>) Method

Summary

Finds the index of many items as specified in the secondary enumerable.
Namespace
DynamicData.Kernel
Containing Type
EnumerableEx

Syntax

public static IEnumerable<TResult> IndexOfMany<TObject, TResult>(this IEnumerable<TObject> source, IEnumerable<TObject> itemsToFind, Func<TObject, int, TResult> resultSelector)

Type Parameters

Name Description
TObject The type of the object.
TResult The type of the result.

Parameters

Name Type Description
source IEnumerable<TObject> The source.
itemsToFind IEnumerable<TObject> The items to find.
resultSelector Func<TObject, int, TResult> The result selector.

Return Value

Type Description
IEnumerable<TResult> A result as specified by the result selector.