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.
Cqrs.EventStore.EventFactory< TAuthenticationToken > Class Template Reference

A factory implementing IEventDeserialiser<TAuthenticationToken> and IEventBuilder<TAuthenticationToken> More...

+ Inheritance diagram for Cqrs.EventStore.EventFactory< TAuthenticationToken >:

Public Member Functions

IEvent< TAuthenticationToken > Deserialise (RecordedEvent eventData)
 Deserialise the provided eventData into an IEvent<TAuthenticationToken>. More...
 
IEvent< TAuthenticationToken > Deserialise (ResolvedEvent notification)
 Deserialise the provided notification into an IEvent<TAuthenticationToken>. More...
 
JsonSerializerSettings GetSerialisationSettings ()
 Gets the JsonSerializerSettings used while Deserialising. More...
 
EventData CreateFrameworkEvent (string type, IEvent< TAuthenticationToken > eventData)
 Create an framework event with the provided eventData . More...
 
EventData CreateFrameworkEvent (IEvent< TAuthenticationToken > eventData)
 Create an framework event with the provided eventData . More...
 
EventData CreateFrameworkEvent (string eventDataBody)
 Create an framework event from the provided eventDataBody . More...
 
EventData CreateFrameworkEvent (string type, string eventDataBody)
 Create an framework event from the provided eventDataBody . More...
 
EventData CreateClientConnectedEvent (string clientName)
 Create an EventData that notifies people a client has connected. More...
 

Detailed Description

A factory implementing IEventDeserialiser<TAuthenticationToken> and IEventBuilder<TAuthenticationToken>

Template Parameters
TAuthenticationTokenThe Type of the authentication token.