Interface ICommandHandler<TCommand, TResponse>
Represents a MediatR Command. These extend the MediatR.IRequest to allow code by contract constraints downstream.
public interface ICommandHandler<in TCommand, TResponse> : IRequestHandler<TCommand, TResponse> where TCommand : ICommand<TResponse>
Type Parameters
TCommand
Type for the command.
TResponse
Type for the response of the query.
- Inherited Members