logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface ISyncQueryUseCase<TOutput>

    Interface representing a synchronous query without input and with output.

    Namespace: Serenity.Global.Application.Interfaces
    Assembly: Serenity.Global.Application.dll
    Syntax
    public interface ISyncQueryUseCase<TOutput> : IUseCase
    Type Parameters
    Name Description
    TOutput

    The type of the output result.

    Methods

    Execute()

    Executes the query and returns the output.

    Declaration
    TOutput Execute()
    Returns
    Type Description
    TOutput

    The output result.

    In this article
    © 2026 Serenity. All Rights Reserved