Class ReadOnlyListComparer<T>
An equality comparer for IList that requires elements at the same index to match
Inheritance
ReadOnlyListComparer<T>
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class ReadOnlyListComparer<T> : IEqualityComparer<IReadOnlyList<T>>
Type Parameters
Properties
Default
Declaration
public static ReadOnlyListComparer<T> Default { get; }
Property Value
Methods
EqualLists(IReadOnlyList<T>, IReadOnlyList<T>)
Declaration
public static bool EqualLists(IReadOnlyList<T> x, IReadOnlyList<T> y)
Parameters
Returns
Equals(IReadOnlyList<T>, IReadOnlyList<T>)
Declaration
public bool Equals(IReadOnlyList<T> x, IReadOnlyList<T> y)
Parameters
Returns
GetHashCode(IReadOnlyList<T>)
Declaration
public static int GetHashCode(IReadOnlyList<T> list)
Parameters
Returns
Explicit Interface Implementations
IEqualityComparer<IReadOnlyList<T>>.GetHashCode(IReadOnlyList<T>)
Declaration
int IEqualityComparer<IReadOnlyList<T>>.GetHashCode(IReadOnlyList<T> list)
Parameters
Returns
Implements