logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityHubStatusRowRegistry

    Registration seam for a status row whose assembly the Hub cannot reference (design ADR-1, mirrored from SerenityHubViewRegistry — e.g. the CreateGame editor assembly references this one, never the reverse). A registering assembly's own [InitializeOnLoad] static constructor calls Register(string, Func<SerenityHubStatusRow>) on every domain reload; registration is idempotent per row id so that rerun never accumulates duplicate entries. This dictionary is process state that survives every domain reload once populated — the same contract SerenityHubViewRegistry carries.

    Inheritance
    object
    SerenityHubStatusRowRegistry
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Hub.Infrastructure.Editor
    Assembly: Serenity.UnityHub.Infrastructure.Editor.dll
    Syntax
    public static class SerenityHubStatusRowRegistry

    Properties

    RegisteredProvidersByRowId

    Declaration
    public static IReadOnlyDictionary<string, Func<SerenityHubStatusRow>> RegisteredProvidersByRowId { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<string, Func<SerenityHubStatusRow>>

    Methods

    Register(string, Func<SerenityHubStatusRow>)

    Declaration
    public static void Register(string rowId, Func<SerenityHubStatusRow> provider)
    Parameters
    Type Name Description
    string rowId
    Func<SerenityHubStatusRow> provider
    In this article
    © 2026 Serenity. All Rights Reserved