CQRS.NET  4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless 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.