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