Table of Contents

Class ReferenceComparer

Namespace
Alis.Core.Aspect.Data.Json
Assembly
Alis.dll

A utility class to compare object by their reference.

public sealed class ReferenceComparer : IEqualityComparer<object>

Inheritance

Implements

Inherited Members

Constructors

ReferenceComparer()

Initializes a new instance of the Alis.Core.Aspect.Data.Json.ReferenceComparer class

private ReferenceComparer()

Fields

Instance

Gets the instance of the ReferenceComparer class.

public static readonly ReferenceComparer Instance

Field Value

ReferenceComparer

Methods

IEqualityComparer<object>.Equals(object, object)

Describes whether this instance equals

bool IEqualityComparer<object>.Equals(object x, object y)

Parameters

x object

The

y object

The

Returns

bool

The bool

IEqualityComparer<object>.GetHashCode(object)

Gets the hash code using the specified obj

int IEqualityComparer<object>.GetHashCode(object obj)

Parameters

obj object

The obj

Returns

int

The int