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.

◆ DefaultReceiveEvent()

bool? Cqrs.Azure.ServiceBus.IAzureBusHelper< TAuthenticationToken >.DefaultReceiveEvent ( IEvent< TAuthenticationToken > @  event,
RouteManager  routeManager,
string  framework 
)

Refreshes the network lock.

The default event handler that check if the IEvent<TAuthenticationToken> has already been processed by this framework, checks if the IEvent<TAuthenticationToken> is required, finds the handler from the provided routeManager .

Parameters
eventThe IEvent<TAuthenticationToken> to process.
routeManagerThe RouteManager to get the IEventHandler<TAuthenticationToken,TCommand> from.
frameworkThe current framework.
Returns
True indicates the event was successfully handled by a handler. False indicates the event wasn't handled, but didn't throw an error, so by convention, that means it was skipped. Null indicates the event wasn't handled as it was already handled.

Implemented in Cqrs.Azure.ServiceBus.AzureBusHelper< TAuthenticationToken >.