Search Results for

    Show / Hide Table of Contents

    Class IdentityComparer<T>

    Inheritance
    object
    IdentityComparer<T>
    Implements
    IEqualityComparer<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Rendering.Caching
    Assembly: Mapsui.dll
    Syntax
    public class IdentityComparer<T> : IEqualityComparer<T> where T : class
    Type Parameters
    Name Description
    T

    Methods

    | Edit this page View Source

    Equals(T?, T?)

    Determines whether the specified objects are equal.

    Declaration
    public bool Equals(T? obj, T? otherObj)
    Parameters
    Type Name Description
    T obj
    T otherObj
    Returns
    Type Description
    bool

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

    | Edit this page 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 object for which a hash code is to be returned.

    Returns
    Type Description
    int

    A hash code for the specified object.

    Exceptions
    Type Condition
    ArgumentNullException

    The type of obj is a reference type and obj is null.

    Implements

    IEqualityComparer<T>

    Extension Methods

    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX