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.
Cqrs.Bus.RouteManager Class Reference
+ Inheritance diagram for Cqrs.Bus.RouteManager:

Public Member Functions

 RouteManager ()
 
virtual void RegisterHandler< TMessage > (Action< TMessage > handler, Type targetedType, bool holdMessageLock=true)
 Register an event or command handler that will listen and respond to events or commands. More...
 
void RegisterHandler< TMessage > (Action< TMessage > handler, bool holdMessageLock=true)
 Register an event or command handler that will listen and respond to events or commands. More...
 
RouteHandlerDelegate GetSingleHandler< TMessage > (bool throwExceptionOnNoRouteHandlers=true)
 
RouteHandlerDelegate GetSingleHandler< TMessage > (TMessage message, bool throwExceptionOnNoRouteHandlers=true)
 
IEnumerable< RouteHandlerDelegateGetHandlers< TMessage > (TMessage message, bool throwExceptionOnNoRouteHandlers=true)
 

Protected Member Functions

virtual bool IsACommand< TMessage > (TMessage message)
 
virtual bool IsACommand (Type messageType)
 
virtual bool IsAnEvent< TMessage > (TMessage message)
 
virtual bool IsAnEvent (Type messageType)
 

Properties

IDictionary< Type, RouteRoutes [get]