CQRS.NET  2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ RegisterHandler< TMessage >() [2/2]

virtual void Cqrs.Bus.InProcessBus< TAuthenticationToken >.RegisterHandler< TMessage > ( Action< TMessage >  handler,
bool  holdMessageLock = true 
)
virtual

Register an event or command handler that will listen and respond to events or commands.

Implements Cqrs.Bus.IHandlerRegistrar.

Type Constraints
TMessage :IMessage