docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MemberDefinitionEqualityComparer<T>

    Inheritance
    object
    MemberDefinitionEqualityComparer<T>
    Implements
    IEqualityComparer<T>
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.APIComparison.Framework.Collectors
    Assembly: solution.dll
    Syntax
    public class MemberDefinitionEqualityComparer<T> : IEqualityComparer<T> where T : IMemberDefinition
    Type Parameters
    Name Description
    T

    Methods

    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
    bool

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

    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>
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)