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.
Inherited Members
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). |