Class ModalCancel
Use case for cancelling a modal.
Inherited Members
Namespace: Serenity.Modal.Application.UseCases
Assembly: Serenity.Modal.Application.dll
Syntax
public class ModalCancel : ISyncUseCase<ModalCancelInput>, IUseCase
Constructors
ModalCancel(IModalPresenter)
Initializes a new instance of the ModalCancel class.
Declaration
public ModalCancel(IModalPresenter presenter)
Parameters
| Type | Name | Description |
|---|---|---|
| IModalPresenter | presenter | The presenter responsible for handling modal cancellation. |
Methods
Execute(ModalCancelInput)
Executes the modal cancellation use case with the provided input data.
Declaration
public void Execute(ModalCancelInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| ModalCancelInput | input | The input data for cancelling the modal. |