Click or drag to resize
DigitalRuneReferenceEqualityComparerT Class
Compares objects for equality by checking whether the specified Object instances are the same instance.
Inheritance Hierarchy
SystemObject
  DigitalRuneReferenceEqualityComparerT

Namespace: DigitalRune
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public class ReferenceEqualityComparer<T> : IEqualityComparer<T>
where T : class

Type Parameters

T
The type of the objects to compare.

The ReferenceEqualityComparerT type exposes the following members.

Constructors
  NameDescription
Public methodReferenceEqualityComparerT
Initializes a new instance of the ReferenceEqualityComparerT class
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodEquals(T, T)
Determines whether the specified objects are equal.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHashCode(T)
Returns a hash code for the specified object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyStatic memberDefault
Gets a default ReferenceEqualityComparerT for the type specified by the generic argument.
Top
See Also