![]() |
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 BusRegistrar instantiates instances of IEventHandler<TAuthenticationToken, TEvent> and ICommandHandler<TAuthenticationToken,TCommand> classes that inherit the akka.net ReceiveActor via the IDependencyResolver so their message registration kicks in. More...
Inheritance diagram for Cqrs.Akka.Configuration.AkkaBusRegistrar< TAuthenticationToken >:Public Member Functions | |
| AkkaBusRegistrar (IDependencyResolver dependencyResolver, IHandlerResolver handlerResolver) | |
Public Member Functions inherited from Cqrs.Configuration.BusRegistrar | |
| 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 | |
| override HandlerDelegate | BuildDelegateAction (Type executorType, Func< Type, IEnumerable< Type >> resolveMessageHandlerInterface) |
| override void | InvokeHandlerDelegate (MethodInfo registerExecutorMethod, bool trueForEventsFalseForCommands, HandlerDelegate handlerDelegate) |
Protected Member Functions inherited from Cqrs.Configuration.BusRegistrar | |
| 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 MethodInfo | BuildExecutorMethod (MethodInfo originalRegisterExecutorMethod, Type executorType, Type commandType) |
| virtual IEnumerable< Type > | ResolveEventHandlerInterface (Type type) |
| virtual IEnumerable< Type > | ResolveCommandHandlerInterface (Type type) |
Properties | |
| IHandlerResolver | HandlerResolver [get] |
Properties inherited from Cqrs.Configuration.BusRegistrar | |
| IDependencyResolver | DependencyResolver [get] |
| static Func< Type, Type, IHandlerRegistrar > | GetEventHandlerRegistrar [get, set] |
| static Func< Type, Type, IHandlerRegistrar > | GetCommandHandlerRegistrar [get, set] |
Triggers the BusRegistrar instantiates instances of IEventHandler<TAuthenticationToken, TEvent> and ICommandHandler<TAuthenticationToken,TCommand> classes that inherit the akka.net ReceiveActor via the IDependencyResolver so their message registration kicks in.