logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ModalCancel

    Use case for cancelling a modal.

    Inheritance
    object
    ModalCancel
    Implements
    ISyncUseCase<ModalCancelInput>
    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 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.

    Implements

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