logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class MenuChangeOptionValue

    Use case for changing a menu option value.

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

    This class handles the logic for changing a menu option value by interacting with the menu presenter.

    Constructors

    MenuChangeOptionValue(IMenuPresenter)

    Initializes a new instance of the MenuChangeOptionValue class.

    Declaration
    public MenuChangeOptionValue(IMenuPresenter presenter)
    Parameters
    Type Name Description
    IMenuPresenter presenter

    The menu presenter to be used for changing the menu option value.

    See Also
    IMenuPresenter

    Methods

    Execute(MenuChangeOptionValueInput)

    Executes the menu change option value operation using the provided input data.

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

    The input data containing the IDs and new value for the menu option.

    Remarks

    This method interacts with the menu presenter to perform the change operation.

    See Also
    MenuChangeOptionValueInput

    Implements

    ISyncUseCase<TInput>
    IUseCase

    See Also

    IMenuPresenter
    MenuChangeOptionValueInput
    In this article
    © 2026 Serenity. All Rights Reserved