Search Results for

    Show / Hide Table of Contents

    Struct id<TLinkAddress>

    A readonly struct that explicitly represents a link identifier/address. This type is used to distinguish between regular values and explicit identifiers in link construction.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Platform.Protocols.Lino
    Assembly: Platform.Protocols.Lino.dll
    Syntax
    public readonly struct id<TLinkAddress>
    Type Parameters
    Name Description
    TLinkAddress

    The type used for link addresses/identifiers. This can be any type that uniquely identifies a link, such as string, int, or Guid.

    Constructors

    | Edit this page View Source

    id(TLinkAddress)

    Initializes a new identifier with the specified value.

    Declaration
    public id(TLinkAddress id)
    Parameters
    Type Name Description
    TLinkAddress id

    The identifier value.

    Fields

    | Edit this page View Source

    Id

    Gets the identifier value.

    Declaration
    public readonly TLinkAddress Id
    Field Value
    Type Description
    TLinkAddress

    Operators

    | Edit this page View Source

    explicit operator id<TLinkAddress>(TLinkAddress)

    Explicitly converts a value to an identifier struct.

    Declaration
    public static explicit operator id<TLinkAddress>(TLinkAddress id)
    Parameters
    Type Name Description
    TLinkAddress id

    The value to convert to an identifier.

    Returns
    Type Description
    id<TLinkAddress>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX