Table of Contents

Class CommandHandlerBase<TCommand, TResponse>

Namespace
CarrotMQ.Core.Handlers
Assembly
CarrotMQ.Core.dll

Represents a base class for command handlers.
Your CommandHandler must inherit from this base class

public abstract class CommandHandlerBase<TCommand, TResponse> : RequestHandlerBase<TCommand, TResponse> where TCommand : _ICommand<TCommand, TResponse> where TResponse : class

Type Parameters

TCommand

The type of the command being handled.

TResponse

The type of the response produced by the command handler.

Inheritance
HandlerBase<TCommand, TResponse>
RequestHandlerBase<TCommand, TResponse>
CommandHandlerBase<TCommand, TResponse>
Inherited Members

Constructors

CommandHandlerBase()

protected CommandHandlerBase()