Class MenuChangeOptionValue
Use case for changing a menu option value.
Inherited Members
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
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.