logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RecipeArrayOp

    Merge modes for an array RecipeNode (value of arrayOp).

    Inheritance
    object
    RecipeArrayOp
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.ProjectRecipe.Infrastructure.Editor.Model
    Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
    Syntax
    public static class RecipeArrayOp

    Fields

    Append

    The nodes are appended after the existing elements; nothing is removed.

    Declaration
    public const string Append = "append"
    Field Value
    Type Description
    string

    Replace

    Default: the array is set to exactly the nodes given (existing elements discarded).

    Declaration
    public const string Replace = "replace"
    Field Value
    Type Description
    string

    UpsertById

    Each node updates the existing element whose arrayKey field matches, or is appended when no element matches.

    Declaration
    public const string UpsertById = "upsertById"
    Field Value
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved