logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct SettingsAssetDraftCommitOutcome

    Outcome of ResolveAndCommit<TSettings>(TSettings, string, string, string, SerenityAssetCreationTransaction): where the settings asset ended up, and whether it was an update rather than a fresh create — everything a caller needs to fill in its own SingletonSettingsResult-derived result, including whether the commit wrote the asset at all.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.StructuredPersistence.Infrastructure.Editor.Authoring
    Assembly: Serenity.UnityStructuredPersistence.Infrastructure.Editor.dll
    Syntax
    public readonly struct SettingsAssetDraftCommitOutcome

    Constructors

    SettingsAssetDraftCommitOutcome(string, SerenityAssetWriteOutcome)

    Declaration
    public SettingsAssetDraftCommitOutcome(string settingsAssetPath, SerenityAssetWriteOutcome writeOutcome)
    Parameters
    Type Name Description
    string settingsAssetPath
    SerenityAssetWriteOutcome writeOutcome

    Fields

    SettingsAssetPath

    Declaration
    public readonly string SettingsAssetPath
    Field Value
    Type Description
    string

    WasUpdate

    Declaration
    public readonly bool WasUpdate
    Field Value
    Type Description
    bool

    WriteOutcome

    Created, Updated, or Unchanged when the existing asset already held every value of the draft.

    Declaration
    public readonly SerenityAssetWriteOutcome WriteOutcome
    Field Value
    Type Description
    SerenityAssetWriteOutcome
    In this article
    © 2026 Serenity. All Rights Reserved