logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Persistence.Installation.Installers

    Classes

    PersistenceInstaller

    Base class for installing persistence components. Subclasses plug in a concrete backend by overriding InstallBlobStore(PersistenceInstallerInstallInput) and/or InstallKeyValueStore(PersistenceInstallerInstallInput); the default Install(PersistenceInstallerInstallInput) and InstallUseCases(IBlobStore) flow is backend-agnostic and works for any IBlobStore-backed subclass out of the box. Supports both IBlobStore (stream-based) and IKeyValueStore (byte-oriented) backends. Abstract because the bare base has no backend: instantiating it would install null stores and fail on the first save/load. Only subclasses that provide a store are meaningful.

    PersistenceInstallerInstallInput

    Data Transfer Object for input parameters required to install a persistence installer.

    In this article
    © 2026 Serenity. All Rights Reserved