Table of Contents

Class EntityObjectComparer

Namespace
TimeCockpit.Data
Assembly
TimeCockpit.Data.dll

Compares EntityObjects for equality based on their reference and then ObjectUuid.

public sealed class EntityObjectComparer : IEqualityComparer<EntityObject>
Inheritance
Object
EntityObjectComparer
Implements
IEqualityComparer<EntityObject>
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

EntityObjectComparer()

public EntityObjectComparer()

Methods

Equals(EntityObject, EntityObject)

Determines whether the specified objects are equal.

public bool Equals(EntityObject x, EntityObject y)

Parameters

x EntityObject

The first object to compare.

y EntityObject

The second object to compare.

Returns

Boolean

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

GetHashCode(EntityObject)

Returns a hash code for the specified object.

public int GetHashCode(EntityObject obj)

Parameters

obj EntityObject

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

Returns

Int32

A hash code for the specified object.