Class ValueKey<T> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ValueKey<T>

    Inheritance
    System.Object
    Key
    LocalKey
    ValueKey<T>
    PageStorageKey<T>
    Inherited Members
    Key.key(String)
    Namespace: Unity.UIWidgets.foundation
    Syntax
    public class ValueKey<T> : LocalKey, IEquatable<ValueKey<T>>
    Type Parameters
    Name Description
    T

    Constructors

    ValueKey(T)

    Declaration
    public ValueKey(T value)
    Parameters
    Type Name Description
    T value

    Fields

    value

    Declaration
    public readonly T value
    Field Value
    Type Description
    T

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    Equals(ValueKey<T>)

    Declaration
    public bool Equals(ValueKey<T> other)
    Parameters
    Type Name Description
    ValueKey<T> other
    Returns
    Type Description
    System.Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Operators

    Equality(ValueKey<T>, ValueKey<T>)

    Declaration
    public static bool operator ==(ValueKey<T> left, ValueKey<T> right)
    Parameters
    Type Name Description
    ValueKey<T> left
    ValueKey<T> right
    Returns
    Type Description
    System.Boolean

    Inequality(ValueKey<T>, ValueKey<T>)

    Declaration
    public static bool operator !=(ValueKey<T> left, ValueKey<T> right)
    Parameters
    Type Name Description
    ValueKey<T> left
    ValueKey<T> right
    Returns
    Type Description
    System.Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023