logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.StructuredPersistence.Backends

    Classes

    StructuredBackendConsumerProfile

    Describes everything consumer-specific about constructing structured stores from the shared backend assets, so StructuredBackendStores can build stores for any consumer (structured logging, leaderboard, future ones) with zero consumer knowledge of its own: warning identity, the key-value partition field, local-storage defaults, the optional SQLite first-use schema, and the per-store serializers.

    StructuredBackendStores

    Shared construction of IStructuredStore instances from the shared backend assets, used by every consumer factory (structured logging, leaderboard). Each consumer keeps its own dispatch switch, fallback target and final wrap; everything that was byte-identical between the factories — the environment-variable override chain, the shared System.Net.Http.HttpClient, the per-backend Try-construction with its SERENITY_STRUCTURED_* guards, and the custom-backend contract — lives here once, parameterized by a StructuredBackendConsumerProfile.

    In this article
    © 2026 Serenity. All Rights Reserved