Class EnumerableExtension
Inheritance
EnumerableExtension
Assembly: TOMWrapper.dll
Syntax
public static class EnumerableExtension
Methods
ContainsDuplicates<T>(IEnumerable<T>)
Declaration
public static bool ContainsDuplicates<T>(this IEnumerable<T> enumerable)
Parameters
Returns
Type Parameters
ContainsDuplicates<T, U>(IEnumerable<T>, Func<T, U>, IEqualityComparer<U>)
Declaration
public static bool ContainsDuplicates<T, U>(this IEnumerable<T> enumerable, Func<T, U> selector, IEqualityComparer<U> comparer = null)
Parameters
Returns
Type Parameters
ContainsDuplicates<T, U>(IEnumerable<T>, Func<T, U>, IEqualityComparer<U>, out T)
Declaration
public static bool ContainsDuplicates<T, U>(this IEnumerable<T> enumerable, Func<T, U> selector, IEqualityComparer<U> comparer, out T firstDuplicate)
Parameters
Returns
Type Parameters
IndexOf<T>(IEnumerable<T>, Predicate<T>)
Declaration
public static int IndexOf<T>(this IEnumerable<T> enumerable, Predicate<T> predicate)
Parameters
Returns
Type Parameters