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

◆ Register() [3/3]

virtual void Cqrs.Configuration.BusRegistrar.Register ( bool  trueForEventsFalseForCommands,
Func< Type, IEnumerable< Type >>  resolveMessageHandlerInterface,
bool  skipCommandHandlers,
params HandlerTypeInformation []  executorTypes 
)
virtual

Registers all IHandler instances in the provided executorTypes .

Parameters
trueForEventsFalseForCommandsIndicates if this is registers IEventHandler or ICommandHandler<TAuthenticationToken,TCommand>.
resolveMessageHandlerInterfaceResolveEventHandlerInterface or ResolveCommandHandlerInterface
skipCommandHandlersIndicates if registering of ICommandHandler<TAuthenticationToken,TCommand> is enabled.
executorTypesA collection of Type to register.