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.

◆ IsACommand< TMessage >()

virtual bool Cqrs.Bus.RouteManager.IsACommand< TMessage > ( TMessage  message)
protectedvirtual

Checks if the provided message is an ICommand<TAuthenticationToken>.

Template Parameters
TMessageThe Type of IMessage to check.
Parameters
messageThe TMessage to check.
Returns
true if message is an ICommand<TAuthenticationToken>.