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 option's identity (id and Guid), its flat fields, and its bound and default values whole, so an import can match it and keep its binding; 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