logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct SettingsAssetRelocation.PendingMove

    A move MoveIfRequested(string, string, SerenityAssetCreationTransaction) already performed, held by the caller across its own try/commit block until RecordOnto(SerenityCreationResult) can run — recording earlier would report a move that a LATER step's failure then rolled back. None is both the "nothing was requested" sentinel and this type's own default value, so a caller that never assigns one still gets a safe no-op from RecordOnto(SerenityCreationResult).

    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 SettingsAssetRelocation.PendingMove

    Fields

    None

    Declaration
    public static readonly SettingsAssetRelocation.PendingMove None
    Field Value
    Type Description
    SettingsAssetRelocation.PendingMove

    Methods

    RecordOnto(SerenityCreationResult)

    Sets Serenity.Global.Infrastructure.Editor.SerenityCreationResult.MovedFromPath/Serenity.Global.Infrastructure.Editor.SerenityCreationResult.MovedToPath on result — a no-op for None. Call only after the run's transaction has already committed successfully.

    Declaration
    public void RecordOnto(SerenityCreationResult result)
    Parameters
    Type Name Description
    SerenityCreationResult result
    In this article
    © 2026 Serenity. All Rights Reserved