Class CommandHandlerBase<TCommand, TResponse>
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
TCommandThe type of the command being handled.
TResponseThe type of the response produced by the command handler.
- Inheritance
-
HandlerBase<TCommand, TResponse>RequestHandlerBase<TCommand, TResponse>CommandHandlerBase<TCommand, TResponse>
- Inherited Members
-
RequestHandlerBase<TCommand, TResponse>.Error(int, TResponse, string, IDictionary<string, string[]>)
Constructors
CommandHandlerBase()
protected CommandHandlerBase()