logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Localization.Installation.Settings.Editor.Hub.Navigation

    Classes

    SerenityHubContext

    Shared services every Hub view needs, injected once by the window and passed into each view's OnShow (design ADR-9 / CLAUDE.md explicit-constructor-injection). Views never construct their own cache, launcher, recents, favorites, icon resolver, or navigator — they receive them here.

    SerenityHubNavigator

    Tracks which Hub sidebar view is currently active (design ADR-9): NavigateTo(string, object) switches the current view id, persists it under ISerenityHubKeyValueStore so it survives a domain reload within the same session, and raises Navigated so the window shell (Slice 6) can swap its content host and highlight the matching sidebar entry. First run — nothing persisted yet — lands on Home. The navigator itself never builds or owns any view; it only tracks which one is active.

    SerenityHubViewIds

    Stable sidebar view identifiers (spec §2), in sidebar order. Shared by SerenityHubNavigator (persistence, default landing view) and every ISerenityHubView implementation's Id, so both sides of navigation always agree on the same strings.

    In this article
    © 2026 Serenity. All Rights Reserved