Class
ReferenceEqualityComparer

Reference equality comparer.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class ReferenceEqualityComparer : IEqualityComparer<object>

Inheritance: objectReferenceEqualityComparer

Implements: IEqualityComparer<object>

Constructors

ReferenceEqualityComparer()

Declaration

cs-api-definition
public ReferenceEqualityComparer()

Methods

Equals(object, object)

Determines whether the specified objects are equal.

Declaration

cs-api-definition
public bool Equals(object x, object y)

Parameters

x

object

The first object of type T to compare.

y

object

The second object of type T to compare.

Returns

bool

true if the specified objects are equal; otherwise, false.

Implements IEqualityComparer<object>.Equals(object, object)

GetHashCode(object)

Returns a hash code for the specified object.

Declaration

cs-api-definition
public int GetHashCode(object obj)

Parameters

obj

object

The Object for which a hash code is to be returned.

Returns

int

A hash code for the specified object.

Implements IEqualityComparer<object>.GetHashCode(object)