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.WebApi.CqrsEventApiController< TSingleSignOnToken > Class Template Reference

A CqrsApiController that includes an implementation of the IEventService<TAuthenticationToken>.GetEventData method More...

+ Inheritance diagram for Cqrs.WebApi.CqrsEventApiController< TSingleSignOnToken >:

Protected Member Functions

 CqrsEventApiController (ILogger logger, ICorrelationIdHelper correlationIdHelper, IAuthenticationTokenHelper< TSingleSignOnToken > authenticationTokenHelper, IEventStore< TSingleSignOnToken > eventStore, IConfigurationManager configurationManager)
 Instantiates a new instance of CqrsEventApiController<TSingleSignOnToken>. More...
 
virtual IServiceResponseWithResultData< IEnumerable< EventData > > GetEventData (IServiceRequestWithData< TSingleSignOnToken, Guid > serviceRequest)
 Get all events raised with the same IMessage.CorrelationId. More...
 
virtual void OnGetEventData (IServiceRequestWithData< TSingleSignOnToken, Guid > serviceRequest)
 Executed before calling the IEventStore<TAuthenticationToken>.Get(System.Type,System.Guid,bool,int) method on EventStore in GetEventData. More...
 
virtual IEnumerable< EventDataOnGotEventData (IServiceRequestWithData< TSingleSignOnToken, Guid > serviceRequest, IEnumerable< EventData > results)
 Executed after calling the IEventStore<TAuthenticationToken>.Get(System.Type,System.Guid,bool,int) method on EventStore in GetEventData. More...
 

Properties

IAuthenticationTokenHelper< TSingleSignOnToken > AuthenticationTokenHelper [get]
 Gets or set the IAuthenticationTokenHelper<TAuthenticationToken>. More...
 
virtual IEventStore< TSingleSignOnToken > EventStore [get]
 Gets or set the IEventStore<TAuthenticationToken>. More...
 

Additional Inherited Members

- Public Member Functions inherited from Cqrs.Services.IEventService< TSingleSignOnToken >
IServiceResponseWithResultData< IEnumerable< EventData > > GetEventData (IServiceRequestWithData< TAuthenticationToken, Guid > serviceRequest)
 Get all events raised with the same IMessage.CorrelationId. More...
 

Detailed Description

A CqrsApiController that includes an implementation of the IEventService<TAuthenticationToken>.GetEventData method