logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ModalSelectOption

    Use case for selecting a modal option.

    Inheritance
    object
    ModalSelectOption
    Implements
    ISyncUseCase<ModalSelectOptionInput>
    IUseCase
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Modal.Application.UseCases
    Assembly: Serenity.Modal.Application.dll
    Syntax
    public class ModalSelectOption : ISyncUseCase<ModalSelectOptionInput>, IUseCase

    Constructors

    ModalSelectOption(IModalPresenter)

    Initializes a new instance of the ModalSelectOption class.

    Declaration
    public ModalSelectOption(IModalPresenter presenter)
    Parameters
    Type Name Description
    IModalPresenter presenter

    The presenter responsible for handling modal option selection.

    Methods

    Execute(ModalSelectOptionInput)

    Executes the modal option selection use case with the provided input data.

    Declaration
    public void Execute(ModalSelectOptionInput input)
    Parameters
    Type Name Description
    ModalSelectOptionInput input

    The input data for selecting the modal option.

    Implements

    ISyncUseCase<TInput>
    IUseCase
    In this article
    © 2026 Serenity. All Rights Reserved