Class EnumerableComparer<T>
An equality comparer for IEnumerable that requires elements at the same position to match
Inheritance
EnumerableComparer<T>
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class EnumerableComparer<T> : IEqualityComparer<IEnumerable<T>>, IEqualityComparer<ICollection<T>>
Type Parameters
Methods
Equals(ICollection<T>, ICollection<T>)
Declaration
public bool Equals(ICollection<T> x, ICollection<T> y)
Parameters
Returns
Equals(IEnumerable<T>, IEnumerable<T>)
Declaration
public bool Equals(IEnumerable<T> x, IEnumerable<T> y)
Parameters
Returns
GetHashCode(ICollection<T>)
Declaration
public int GetHashCode(ICollection<T> obj)
Parameters
Returns
GetHashCode(IEnumerable<T>)
Declaration
public int GetHashCode(IEnumerable<T> obj)
Parameters
Returns
Implements