logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityHubStatus

    Read-only status aggregator for the Serenity Hub. Produces three rows — required Unity packages, installation wiring, and overall project validation health — by reusing the same checks the standalone package installer and the project validators already perform. Never mutates project state; every row that needs a fix carries a deep-link menu path instead of fixing anything itself.

    Slice 6.4 migration: Serenity.Localization.Installation.Settings.Editor.SerenityHubStatus.BuildWiringHealthRow(Serenity.Localization.Installation.Settings.Editor.Hub.Services.SerenityHubValidationCache) no longer calls RunAll(string) synchronously — it reads TryReadSummary(string, out SerenityHubValidationSummary) and renders a "not yet run" state when nothing has been cached this session (spec §3 non-functional requirement: "no synchronous full-project scan on any view open"; design ADR-7). The cache is populated by the Validate view's on-demand "Everything" report card, not by this method.

    Inheritance
    object
    SerenityHubStatus
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Localization.Installation.Settings.Editor
    Assembly: Serenity.UnityLocalization.Installation.Editor.dll
    Syntax
    public static class SerenityHubStatus

    Methods

    BuildRows()

    Builds all Hub status rows using the real, session-backed SerenityHubValidationCache. Kept as a separate zero-argument overload (rather than an optional parameter) so existing method-group references such as SerenityHubHomeView's Func<List<SerenityHubStatusRow>> keep compiling — a method-group-to-delegate conversion requires an exact arity match; optional parameters do not satisfy it (CS0123).

    Declaration
    public static List<SerenityHubStatusRow> BuildRows()
    Returns
    Type Description
    List<SerenityHubStatusRow>

    BuildRows(SerenityHubValidationCache)

    Builds all Hub status rows. Synchronous, but never triggers a full-project validation scan: the Packages row queries the local Package Manager cache offline, the Installation row is a static placeholder, and the Wiring Health row reads whatever validationCache already has cached (Slice 6.4).

    Declaration
    public static List<SerenityHubStatusRow> BuildRows(SerenityHubValidationCache validationCache)
    Parameters
    Type Name Description
    SerenityHubValidationCache validationCache
    Returns
    Type Description
    List<SerenityHubStatusRow>
    In this article
    © 2026 Serenity. All Rights Reserved