![]() |
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.
|
Triggers the IEventHandlerRegistrar and ICommandHandlerRegistrar if they are registered in the IDependencyResolver. More...
Inheritance diagram for Cqrs.Configuration.BusRegistrar:Public Member Functions | |
| BusRegistrar (IDependencyResolver dependencyResolver) | |
| virtual void | Register (params Type[] typesFromAssemblyContainingMessages) |
| virtual void | Register (bool trueForEventsFalseForCommands, Func< Type, IEnumerable< Type >> resolveMessageHandlerInterface, bool skipCommandHandlers, params Type[] typesFromAssemblyContainingMessages) |
Protected Member Functions | |
| virtual void | InvokeHandler (Type @interface, bool trueForEventsFalseForCommands, Func< Type, IEnumerable< Type >> resolveMessageHandlerInterface, Type executorType) |
| Extract the IHandlerRegistrar.RegisterHandler<TMessage> method from the provided bus Create an Action around the provided executorType Then register the created Action using the extracted IHandlerRegistrar.RegisterHandler<TMessage> method More... | |
| virtual void | InvokeHandlerDelegate (MethodInfo registerExecutorMethod, bool trueForEventsFalseForCommands, HandlerDelegate handlerDelegate) |
| virtual HandlerDelegate | BuildDelegateAction (Type executorType, Func< Type, IEnumerable< Type >> resolveMessageHandlerInterface) |
| virtual MethodInfo | BuildExecutorMethod (MethodInfo originalRegisterExecutorMethod, Type executorType, Type commandType) |
| virtual IEnumerable< Type > | ResolveEventHandlerInterface (Type type) |
| virtual IEnumerable< Type > | ResolveCommandHandlerInterface (Type type) |
Properties | |
| IDependencyResolver | DependencyResolver [get] |
| static Func< Type, Type, IHandlerRegistrar > | GetEventHandlerRegistrar [get, set] |
| static Func< Type, Type, IHandlerRegistrar > | GetCommandHandlerRegistrar [get, set] |
Triggers the IEventHandlerRegistrar and ICommandHandlerRegistrar if they are registered in the IDependencyResolver.