logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Global.Application.Services

    Classes

    OptionalModule

    A module whose install task can be missing from the pipeline profile, or can fail, without halting the boot — so every service it publishes may be absent while the game runs, and each consumer of those services needs a defined behaviour for that case.

    OptionalModules

    The modules whose install task degrades the boot instead of halting it when it fails, so the services they publish can be absent at runtime. A consumer of one of their services reports the absence through an OptionalServiceGate built from the entry here.

    OptionalServiceGate

    One consumer's defined behaviour for a service an OptionalModule publishes and that may never have installed: resolving answers false instead of throwing, and the first miss writes one warning that names the missing module, the feature that stays inactive, and the task that installs the module.

    ServiceLocatorBridge

    Static access bridge for the IServiceLocator instance.

    ViewRouter

    Default IViewRouter: shows a view by id by asking each registered IViewProvider in turn whether it owns the id, and delegating to the first that does. Engine-agnostic and unit-testable — it depends only on the provider abstraction and a log service.

    Structs

    CachedServiceRef<TService>

    Caches a single service instance resolved through ServiceLocatorBridge.

    In this article
    © 2026 Serenity. All Rights Reserved