Search Results for

    Show / Hide Table of Contents

    Class EntityObjectComparer

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

    Inheritance
    System.Object
    EntityObjectComparer
    Implements
    System.Collections.Generic.IEqualityComparer<EntityObject>
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: TimeCockpit.Data
    Assembly: TimeCockpit.Data.dll
    Syntax
    public sealed class EntityObjectComparer : IEqualityComparer<EntityObject>

    Constructors

    EntityObjectComparer()

    Declaration
    public EntityObjectComparer()

    Methods

    Equals(EntityObject, EntityObject)

    Determines whether the specified objects are equal.

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

    The first object to compare.

    EntityObject y

    The second object to compare.

    Returns
    Type Description
    System.Boolean

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

    Implements
    System.Collections.Generic.IEqualityComparer<T>.Equals(T, T)

    GetHashCode(EntityObject)

    Returns a hash code for the specified object.

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

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

    Returns
    Type Description
    System.Int32

    A hash code for the specified object.

    Implements
    System.Collections.Generic.IEqualityComparer<T>.GetHashCode(T)
    In This Article
    Back to top Copyright © 2020 software architects gmbh