logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SingletonSettingsResult

    The outcome shape every project-wide-singleton settings wizard shares, on top of what Serenity.Global.Infrastructure.Editor.SerenityCreationResult already carries: where the settings asset ended up, and whether the run edited one that already existed instead of writing a new one. Base for each module's own Result type — the result half of SingletonSettingsCreationEngine<TSettings, TInput, TResult>.

    Inheritance
    object
    SingletonSettingsResult
    Namespace: Serenity.StructuredPersistence.Infrastructure.Editor.Authoring
    Assembly: Serenity.UnityStructuredPersistence.Infrastructure.Editor.dll
    Syntax
    public abstract class SingletonSettingsResult : SerenityCreationResult

    Constructors

    SingletonSettingsResult()

    Declaration
    protected SingletonSettingsResult()

    Fields

    Outcome

    What this run did to the settings asset it owns: created it, updated it in place, or left it unchanged because it already held every value the run asked for.

    Declaration
    public SerenityAssetWriteOutcome Outcome
    Field Value
    Type Description
    SerenityAssetWriteOutcome

    SettingsAssetPath

    The settings asset this run wrote — the created path, or the edited one on an update. Empty when the run failed.

    Declaration
    public string SettingsAssetPath
    Field Value
    Type Description
    string

    WasUpdate

    True when the run edited an already-existing asset in place rather than creating one.

    Declaration
    public bool WasUpdate
    Field Value
    Type Description
    bool
    In this article
    © 2026 Serenity. All Rights Reserved