docs.unity3d.com
    Show / Hide Table of Contents

    Struct SerializableGuid

    Struct SerializableGuid

    Namespace: Unity.Industrial.Forma.Core.Utils
    Syntax
    public struct SerializableGuid : IComparable, IComparable<SerializableGuid>, IEquatable<SerializableGuid>

    Properties

    Value

    Gets the value.

    Declaration
    public readonly string Value { get; }
    Property Value
    Type Description
    String

    The value.

    Methods

    CompareTo(Object)

    Compares to.

    Declaration
    public int CompareTo(object value)
    Parameters
    Type Name Description
    Object value

    The value.

    Returns
    Type Description
    Int32

    System.Int32.

    CompareTo(SerializableGuid)

    Compares to.

    Declaration
    public int CompareTo(SerializableGuid other)
    Parameters
    Type Name Description
    SerializableGuid other

    The other.

    Returns
    Type Description
    Int32

    System.Int32.

    Equals(Object)

    Determines whether the specified is equal to this instance.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The to compare with this instance.

    Returns
    Type Description
    Boolean

    true if the specified is equal to this instance; otherwise, false.

    Equals(SerializableGuid)

    Equalses the specified other.

    Declaration
    public bool Equals(SerializableGuid other)
    Parameters
    Type Name Description
    SerializableGuid other

    The other.

    Returns
    Type Description
    Boolean

    true if XXXX, false otherwise.

    GetHashCode()

    Returns a hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    ToString()

    Returns a that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A that represents this instance.

    Operators

    Implicit(Guid to SerializableGuid)

    Performs an implicit conversion from to SerializableGuid.

    Declaration
    public static implicit operator SerializableGuid(Guid guid)
    Parameters
    Type Name Description
    Guid guid

    The unique identifier.

    Returns
    Type Description
    SerializableGuid

    The result of the conversion.

    Implicit(SerializableGuid to Guid)

    Performs an implicit conversion from SerializableGuid to .

    Declaration
    public static implicit operator Guid(SerializableGuid serializableGuid)
    Parameters
    Type Name Description
    SerializableGuid serializableGuid

    The serializable unique identifier.

    Returns
    Type Description
    Guid

    The result of the conversion.

    Back to top
    Terms of use
    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