Search Results for

    Class LocalizedMessage

    An error message in one language, safe to show users. Produced by IErrorLocalizer and carried on LocalizedMessage.

    Inheritance
    object
    LocalizedMessage
    Implements
    IEquatable<LocalizedMessage>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ZhEaIsNsAaBn.Utilities
    Assembly: ZhEaIsNsAaBn.LayerResponse.dll
    Syntax
    public sealed record LocalizedMessage : IEquatable<LocalizedMessage>

    Constructors

    LocalizedMessage(string, string)

    An error message in one language, safe to show users. Produced by IErrorLocalizer and carried on LocalizedMessage.

    Declaration
    public LocalizedMessage(string Locale, string Message)
    Parameters
    Type Name Description
    string Locale

    The language the message is really in (e.g. ar, en) — after fallback, not the one requested.

    string Message

    The message, placeholders already filled.

    Properties

    Locale

    The language the message is really in (e.g. ar, en) — after fallback, not the one requested.

    Declaration
    public string Locale { get; init; }
    Property Value
    Type Description
    string

    Message

    The message, placeholders already filled.

    Declaration
    public string Message { get; init; }
    Property Value
    Type Description
    string

    Implements

    IEquatable<T>
    In this article
    Back to top Generated by DocFX