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.

◆ GenerateStreamName() [1/2]

virtual string Cqrs.Events.EventStore< TAuthenticationToken >.GenerateStreamName ( Type  aggregateRootType,
IEvent< TAuthenticationToken > @  event 
)
protectedvirtual

Generate a unique stream name based on the provided aggregateRootType and the IEvent<TAuthenticationToken>.Id from the provided event .

Parameters
aggregateRootTypeThe Type of the IAggregateRoot<TAuthenticationToken>.
eventThe IEvent<TAuthenticationToken> to extract information from.