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.Events.EventExtensions.GetIdentity< TAuthenticationToken > ( this IEvent< TAuthenticationToken > @  event)
static

The identity of the target object of the provided event .

Parameters
eventThe IEvent<TAuthenticationToken> to locate the identify from.
Template Parameters
TAuthenticationTokenThe Type of the authentication token.
Returns
IEventWithIdentity<TAuthenticationToken>.Rsn or IEvent<TAuthenticationToken>.Id.