Table of Contents

Interface ICommandHandler<TCommand, TResponse>

Namespace
BytLabs.Application.CQS.Commands
Assembly
BytLabs.Application.dll

Represents a handler for commands that return a response. Implements IRequestHandler from MediatR for command processing.

public interface ICommandHandler<in TCommand, TResponse> : IRequestHandler<TCommand, TResponse> where TCommand : ICommand<TResponse> where TResponse : notnull

Type Parameters

TCommand

The type of command to handle

TResponse

The type of response returned by the command

Inherited Members