Inventory System
Search Results for

    Show / Hide Table of Contents

    Interface IEquivalent<TType>

    Check if this is equivalent to another "other" object. This is not the same as Equals, as we do not compare the object instance but rather the state of this to "other".

    Namespace: InventorySystem.Utils
    Assembly: InventorySystem.dll
    Syntax
    public interface IEquivalent<TType>
    Type Parameters
    Name Description
    TType

    Type of the class implementing this that can be checked for equivalence.

    Methods

    | Edit this page View Source

    IsEquivalentTo(TType)

    Check if this is the same type TType in the same internal state as other TType.

    Declaration
    bool IsEquivalentTo(TType other)
    Parameters
    Type Name Description
    TType other

    The object TType to be compared against.

    Returns
    Type Description
    bool

    Whether this and other are equivalent in type and internal state.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX