logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface ISyncUseCase<TInput>

    Interface representing a synchronous use case with input and no output.

    Namespace: Serenity.Global.Application.Interfaces
    Assembly: Serenity.Global.Application.dll
    Syntax
    public interface ISyncUseCase<in TInput> : IUseCase
    Type Parameters
    Name Description
    TInput

    The type of the input parameter.

    Methods

    Execute(TInput)

    Executes the use case with the given input.

    Declaration
    void Execute(TInput input)
    Parameters
    Type Name Description
    TInput input

    The input parameter for the use case.

    In this article
    © 2026 Serenity. All Rights Reserved