Search Results for

    Show / Hide Table of Contents

    Struct PortableObjectKey

    Represents a key for the PortableObject translation.

    Implements
    IEquatable<PortableObjectKey>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: MGR.PortableObject
    Assembly: MGR.PortableObject.dll
    Syntax
    public struct PortableObjectKey : IEquatable<PortableObjectKey>

    Constructors

    | Edit this page View Source

    PortableObjectKey(string)

    Creates a new key.

    Declaration
    public PortableObjectKey(string id)
    Parameters
    Type Name Description
    string id

    The Id of the key.

    | Edit this page View Source

    PortableObjectKey(string, string)

    Creates a new key.

    Declaration
    public PortableObjectKey(string context, string id)
    Parameters
    Type Name Description
    string context

    The Context of the key.

    string id

    The Id of the key.

    | Edit this page View Source

    PortableObjectKey(string?, string, string?)

    Creates a new key.

    Declaration
    public PortableObjectKey(string? context, string id, string? idPlural)
    Parameters
    Type Name Description
    string context

    The Context of the key.

    string id

    The Id of the key.

    string idPlural

    The Plural Id of the key.

    Properties

    | Edit this page View Source

    Context

    Gets the (optional) context of the key.

    Declaration
    public readonly string? Context { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Id

    Gets the Id of the key.

    Declaration
    public readonly string Id { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    IdPlural

    Gets the plural Id of the key.

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

    Methods

    | Edit this page View Source

    Equals(PortableObjectKey)

    Declaration
    public readonly bool Equals(PortableObjectKey other)
    Parameters
    Type Name Description
    PortableObjectKey other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object?)

    Declaration
    public override readonly bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override readonly int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX