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.

◆ PrepareAndValidateEvent< TEvent >()

virtual bool Cqrs.Azure.ServiceBus.AzureBusHelper< TAuthenticationToken >.PrepareAndValidateEvent< TEvent > ( TEvent @  event,
string  framework 
)
virtual

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

Template Parameters
TEventThe Type ofIEvent<TAuthenticationToken> being sent.
Parameters
eventThe IEvent<TAuthenticationToken> to send.
frameworkThe framework the event is being sent from.

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

Type Constraints
TEvent :IEvent<TAuthenticationToken>