Table of Contents

Interface IUseCase<TRequest, TResponse>

Namespace
Ploch.CommandLine.UseCases
Assembly
Ploch.CommandLine.UseCases.dll

Defines a use case with a request and response.

public interface IUseCase<in TRequest, TResponse>

Type Parameters

TRequest

The type of the request.

TResponse

The type of the response.

Methods

ExecuteAsync(TRequest, CancellationToken)

Executes the use case asynchronously with the specified request and cancellation token.