logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class 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.

    Inheritance
    object
    SerenityHubContext
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Localization.Installation.Settings.Editor.Hub.Navigation
    Assembly: Serenity.UnityLocalization.Installation.Editor.dll
    Syntax
    public sealed class SerenityHubContext

    Constructors

    SerenityHubContext(SerenityHubValidationCache, SerenityHubLauncher, SerenityHubRecents, SerenityHubFavorites, SerenityHubIcons, IReadOnlyList<SerenityHubToolEntry>, SerenityHubNavigator)

    Declaration
    public SerenityHubContext(SerenityHubValidationCache validationCache, SerenityHubLauncher launcher, SerenityHubRecents recents, SerenityHubFavorites favorites, SerenityHubIcons icons, IReadOnlyList<SerenityHubToolEntry> catalogEntries, SerenityHubNavigator navigator)
    Parameters
    Type Name Description
    SerenityHubValidationCache validationCache
    SerenityHubLauncher launcher
    SerenityHubRecents recents
    SerenityHubFavorites favorites
    SerenityHubIcons icons
    IReadOnlyList<SerenityHubToolEntry> catalogEntries
    SerenityHubNavigator navigator

    Properties

    CatalogEntries

    Declaration
    public IReadOnlyList<SerenityHubToolEntry> CatalogEntries { get; }
    Property Value
    Type Description
    IReadOnlyList<SerenityHubToolEntry>

    Favorites

    Declaration
    public SerenityHubFavorites Favorites { get; }
    Property Value
    Type Description
    SerenityHubFavorites

    Icons

    Declaration
    public SerenityHubIcons Icons { get; }
    Property Value
    Type Description
    SerenityHubIcons

    Launcher

    Declaration
    public SerenityHubLauncher Launcher { get; }
    Property Value
    Type Description
    SerenityHubLauncher

    Navigator

    Declaration
    public SerenityHubNavigator Navigator { get; }
    Property Value
    Type Description
    SerenityHubNavigator

    Recents

    Declaration
    public SerenityHubRecents Recents { get; }
    Property Value
    Type Description
    SerenityHubRecents

    ValidationCache

    Declaration
    public SerenityHubValidationCache ValidationCache { get; }
    Property Value
    Type Description
    SerenityHubValidationCache
    In this article
    © 2026 Serenity. All Rights Reserved