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
SerenityHubContext
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
Properties
CatalogEntries
Declaration
public IReadOnlyList<SerenityHubToolEntry> CatalogEntries { get; }
Property Value
Favorites
Declaration
public SerenityHubFavorites Favorites { get; }
Property Value
Icons
Declaration
public SerenityHubIcons Icons { get; }
Property Value
Launcher
Declaration
public SerenityHubLauncher Launcher { get; }
Property Value
Navigator
Declaration
public SerenityHubNavigator Navigator { get; }
Property Value
Recents
Declaration
public SerenityHubRecents Recents { get; }
Property Value
ValidationCache
Declaration
public SerenityHubValidationCache ValidationCache { get; }
Property Value