CQRS.NET  2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ PrepareAndValidateCommand< TCommand >()

virtual bool Cqrs.Azure.ServiceBus.AzureBusHelper< TAuthenticationToken >.PrepareAndValidateCommand< TCommand > ( TCommand  command,
string  framework 
)
virtual

Prepares and validates a ICommand<TAuthenticationToken> to be sent specifying the framework it is sent via.

Template Parameters
TCommandThe Type ofICommand<TAuthenticationToken> being sent.
Parameters
commandThe ICommand<TAuthenticationToken> to send.
frameworkThe framework the command is being sent from.

Implements Cqrs.Azure.ServiceBus.IAzureBusHelper< TAuthenticationToken >.

Type Constraints
TCommand :ICommand<TAuthenticationToken>