logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RecipeUiOptionExporter

    Maps runtime UiOptions back to recipe option DTOs (the inverse of RecipeUiOptionFactory). Exports the flat fields — value/interaction type, label, simple default, translation flags; the caller fills each option's submit signals via RecipeSignalCodec.

    Inheritance
    object
    RecipeUiOptionExporter
    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.Exporters
    Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
    Syntax
    public static class RecipeUiOptionExporter

    Methods

    ToDtos(UiOption[])

    Converts a UiOption array (possibly null) to option DTOs.

    Declaration
    public static RecipeUiOptionDto[] ToDtos(UiOption[] options)
    Parameters
    Type Name Description
    UiOption[] options

    The runtime options.

    Returns
    Type Description
    RecipeUiOptionDto[]

    The DTOs (never null).

    In this article
    © 2026 Serenity. All Rights Reserved