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.

◆ DefaultReceiveCommand()

bool? Cqrs.Azure.ServiceBus.IAzureBusHelper< TAuthenticationToken >.DefaultReceiveCommand ( ICommand< TAuthenticationToken >  command,
RouteManager  routeManager,
string  framework 
)

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

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

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