Search Results for

    Show / Hide Table of Contents

    Class Localized<T>

    Inheritance
    object
    Localized<T>
    Implements
    ILocalized
    IReferenced
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Sheets
    Assembly: Glitch9.AIDevKit.Sheets.dll
    Syntax
    public sealed class Localized<T> : ILocalized, IReferenced
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    Localized(LocalizationId)

    Declaration
    public Localized(LocalizationId key)
    Parameters
    Type Name Description
    LocalizationId key

    Properties

    | Edit this page View Source

    Id

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

    Value

    Declaration
    public T Value { get; }
    Property Value
    Type Description
    T

    Methods

    | Edit this page View Source

    LoadAsync(CancellationToken)

    Declaration
    public UniTask LoadAsync(CancellationToken ct = default)
    Parameters
    Type Name Description
    CancellationToken ct
    Returns
    Type Description
    UniTask
    | Edit this page View Source

    OnLocaleChanged(Locale)

    Declaration
    public void OnLocaleChanged(Locale _)
    Parameters
    Type Name Description
    Locale _

    Events

    | Edit this page View Source

    OnValueChanged

    Declaration
    public event Action<T> OnValueChanged
    Event Type
    Type Description
    Action<T>

    Operators

    | Edit this page View Source

    implicit operator T(Localized<T>)

    Declaration
    public static implicit operator T(Localized<T> localized)
    Parameters
    Type Name Description
    Localized<T> localized
    Returns
    Type Description
    T

    Implements

    ILocalized
    IReferenced

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation