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

EnumerableEx.

IndexOfMany<T>(IEnumerable<T>, IEnumerable<T>) Method

Summary

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

Syntax

public static IEnumerable<ItemWithIndex<T>> IndexOfMany<T>(this IEnumerable<T> source, IEnumerable<T> itemsToFind)

Type Parameters

Name Description
T The type of the item.

Parameters

Name Type Description
source IEnumerable<T> The source.
itemsToFind IEnumerable<T> The items to find in the source enumerable.

Return Value

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