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.

◆ PrepareCommand< TCommand >()

virtual void Cqrs.Bus.InProcessBus< TAuthenticationToken >.PrepareCommand< TCommand > ( TCommand  command)
protectedvirtual

Sets the IMessageWithAuthenticationToken<TAuthenticationToken>.AuthenticationToken, IMessage.CorrelationId, ICommand<TAuthenticationToken>.OriginatingFramework to "Built-In" and adds a value of "Built-In" to the IMessage.Frameworks if not already done so

Type Constraints
TCommand :ICommand<TAuthenticationToken>