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.
|
Public Member Functions | |
void | PrepareCommand< TCommand > (TCommand command, string framework) |
bool | PrepareAndValidateCommand< TCommand > (TCommand command, string framework) |
ICommand< TAuthenticationToken > | ReceiveCommand (string messageBody, Func< ICommand< TAuthenticationToken >, bool?> receiveCommandHandler, string messageId, Action skippedAction=null, Action lockRefreshAction=null) |
bool | DefaultReceiveCommand (ICommand< TAuthenticationToken > command, RouteManager routeManager, string framework) |
void | PrepareEvent< TEvent > (TEvent @event, string framework) |
bool | PrepareAndValidateEvent< TEvent > (TEvent @event, string framework) |
IEvent< TAuthenticationToken > | ReceiveEvent (string messageBody, Func< IEvent< TAuthenticationToken >, bool?> receiveCommandHandler, string messageId, Action skippedAction=null, Action lockRefreshAction=null) |
void | RefreshLock (CancellationTokenSource brokeredMessageRenewCancellationTokenSource, BrokeredMessage message, string type="message") |
bool | DefaultReceiveEvent (IEvent< TAuthenticationToken > @event, RouteManager routeManager, string framework) |
void | RegisterHandler< TMessage > (ITelemetryHelper telemetryHelper, RouteManager routeManger, Action< TMessage > handler, Type targetedType, bool holdMessageLock=true) |