Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.Util.ArrayEqualityComparer<T>

Summary

Encapsulates an IEqualityComparer<T> that uses SequenceEqual to compare arrays for equality.

Generic type parameters

T The type of elements within the arrays to be compared for equality.

Constructors

Constructor.
ArrayEqualityComparer<T>(IEqualityComparer<T> elementEqualityComparer)
Constructor that specifies an equality comparer for the inner elements.

Instance methods

bool
Equals(T[] x, T[] y)
  • Implements: IEqualityComparer<T[]>.Equals(T[], T[])
Override; see base.
int
GetHashCode(T[] obj)
  • Implements: IEqualityComparer<T[]>.GetHashCode(T[])

Static properties

IEqualityComparer<T[]>Provides a default equality comparer for arrays.