Namespace Serenity.Modal.InterfaceAdapters.EntityMappers
Classes
ModalButtonToUiOptionConverter
One-time migration helper that turns legacy modal SerializedComponentData buttons into the
rich UiOption model now used by modals. A former submit button becomes a
UiOption with SUBMIT and
STRING, preserving Id/Guid/Label and the translate flags.
UiShowModalEntityMapper
Static entity mapper for converting between UI show modal parameter types.
Transforms UiShowModalParameters into UnityUiModalParameters with additional Unity-specific configuration.
Handles font size mapping, audio integration, theme sounds, and foundation view element factory assignment for modal presentation.
UnityUiModalParameters
Unity-specific implementation of modal dialog parameters.
Extends base UiModalParameters with Unity serialization support for button components.
Provides both runtime interactive components and serialized data for persistence and editor integration.
Handles parameter validation and ensures data integrity through invariant maintenance.
UnityUiShowModalParameters
Unity-specific implementation of parameters for showing modal dialogs.
Extends base UiShowModalParameters with Unity serialization support for button data.
Manages serialized button configurations for Unity Inspector and persistence systems.
Provides data integrity validation and ensures proper button list management.