Click or drag to resize

DelegateEqualityComparerT Class

Inheritance Hierarchy
SystemObject
  TomsToolbox.CoreDelegateEqualityComparerT

Namespace:  TomsToolbox.Core
Assembly:  TomsToolbox.Core (in TomsToolbox.Core.dll) Version: 1.0.64.0 (1.0.64.0)
Syntax
public class DelegateEqualityComparer<T> : IEqualityComparer<T>

Type Parameters

T
The type of objects to compare.

The DelegateEqualityComparerT type exposes the following members.

Constructors
  NameDescription
Public methodDelegateEqualityComparerT
Initializes a new instance of the DelegateEqualityComparerT class, using Equals(Object, Object) and GetHashCode
Public methodDelegateEqualityComparerT(FuncT, Object)
Initializes a new instance of the DelegateEqualityComparerT class.
Public methodDelegateEqualityComparerT(FuncT, T, Boolean, FuncT, Int32)
Initializes a new instance of the DelegateEqualityComparerT class.
Public methodDelegateEqualityComparerT(FuncT, Object, FuncObject, Object, Boolean, FuncObject, Int32)
Initializes a new instance of the DelegateEqualityComparerT class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified objects are equal.
Public methodGetHashCode
Returns a hash code for the specified object.
Top
Extension Methods
Contracts
Invariants
_comparer != null
_hashCodeGenerator != null
Learn more about contracts
See Also