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.

◆ GetIdentity< TAuthenticationToken >()

static Guid Cqrs.Commands.CommandExtensions.GetIdentity< TAuthenticationToken > ( this ICommand< TAuthenticationToken >  command)
static

The identity of the target object of the provided command .

Parameters
commandThe ICommand<TAuthenticationToken> to locate the identify from.
Template Parameters
TAuthenticationTokenThe Type of the authentication token.
Returns
ICommandWithIdentity<TAuthenticationToken>.Rsn or ICommand<TAuthenticationToken>.Id.