CQRS.NET  4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ Register() [2/3]

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

Registers all IHandler instances found in the Assembly for each Type in typesFromAssemblyContainingMessages .

Parameters
trueForEventsFalseForCommandsIndicates if this is registers IEventHandler or ICommandHandler<TAuthenticationToken,TCommand>.
resolveMessageHandlerInterfaceResolveEventHandlerInterface or ResolveCommandHandlerInterface
skipCommandHandlersIndicates if registering of ICommandHandler<TAuthenticationToken,TCommand> is enabled.
typesFromAssemblyContainingMessagesA collection of Type to track back to their containing Assembly and scan.