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
TCommandThe type of command to handle
TResponseThe type of response returned by the command
- Inherited Members