Table of Contents

Interface ICommandHandler<TCommand, TResponse>

Namespace
Whipstaff.MediatR
Assembly
Whipstaff.MediatR.dll

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