Show / Hide Table of Contents

Class ReferenceEqualityComparer<T>

ReferenceEqualityComparer.

Inheritance
System.Object
ReferenceEqualityComparer<T>
Namespace: Cortex.Net.Utils
Assembly: Cortex.Net.dll
Syntax
public class ReferenceEqualityComparer<T> : IEqualityComparer<T>
Type Parameters
Name Description
T

The type to compare.

Methods

| Improve this Doc View Source

Equals(T, T)

Determines whether the specified objects are equal.

Declaration
public bool Equals(T x, T y)
Parameters
Type Name Description
T x

The first object of type T to compare.

T y

The second object of type T to compare.

Returns
Type Description
System.Boolean

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

| Improve this Doc View Source

GetHashCode(T)

Returns a hash code for the specified object.

Declaration
public int GetHashCode(T obj)
Parameters
Type Name Description
T obj

The instance of type T for which a hash code is to be returned.

Returns
Type Description
System.Int32

A hash code for the specified object.

Extension Methods

TraceExtensions.Trace<TObject, TMember>(TObject, Expression<Func<TObject, TMember>>, TraceMode)
ReactiveObjectTypeUtilExtensions.GetObservable(Object)
ReactiveObjectTypeUtilExtensions.GetObservable<TObject, TMember>(TObject, Expression<Func<TObject, TMember>>)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX