Wintellect.PowerCollections Namespace
Algorithms Class
Algorithms Methods
GhostDoc Pro Sample Help File

Algorithms..::..FirstIndexOfMany Method

Overload List


  Name Description
Public method Static member FirstIndexOfMany<(Of <<'(T>)>>)(IList<(Of <<'(T>)>>), IEnumerable<(Of <<'(T>)>>))
Finds the index of the first item in a list equal to one of several given items.
Public method Static member FirstIndexOfMany<(Of <<'(T>)>>)(IList<(Of <<'(T>)>>), IEnumerable<(Of <<'(T>)>>), IEqualityComparer<(Of <<'(T>)>>))
Finds the index of the first item in a list equal to one of several given items. A passed IEqualityComparer is used to determine equality.
Public method Static member FirstIndexOfMany<(Of <<'(T>)>>)(IList<(Of <<'(T>)>>), IEnumerable<(Of <<'(T>)>>), BinaryPredicate<(Of <<'(T>)>>))
Finds the index of the first item in a list "equal" to one of several given items. The passed BinaryPredicate is used to determine if two items are "equal".