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.
Cqrs.Configuration.SqlSampleRuntime< TAuthenticationToken, TCommandHanderOrEventHandler > Class Template Reference

A SampleRuntime<TAuthenticationToken,TCommandHanderOrEventHandler> that uses SQL Server. More...

+ Inheritance diagram for Cqrs.Configuration.SqlSampleRuntime< TAuthenticationToken, TCommandHanderOrEventHandler >:

Protected Member Functions

override void SetEventStoreCreator ()
 Sets the SampleRuntime<TAuthenticationToken,TCommandHanderOrEventHandler>.EventStoreCreator to use InProcessEventStore<TAuthenticationToken> More...
 
- Protected Member Functions inherited from Cqrs.Configuration.SampleRuntime< TAuthenticationToken, TCommandHanderOrEventHandler >
virtual void StartDependencyResolver ()
 Starts the IDependencyResolver. More...
 
virtual void RegisterHandlers ()
 Registers the all IEventHandler and ICommandHandle. More...
 

Additional Inherited Members

- Public Member Functions inherited from Cqrs.Configuration.SampleRuntime< TAuthenticationToken, TCommandHanderOrEventHandler >
 SampleRuntime ()
 Instaiance a new instance of the SampleRuntime<TAuthenticationToken,TCommandHanderOrEventHandler> More...
 
virtual void PrintStatsticsToConsole ()
 Prints out the statistics of this run such as the number of event raised to the Console. More...
 
void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 
- Properties inherited from Cqrs.Configuration.SampleRuntime< TAuthenticationToken, TCommandHanderOrEventHandler >
static Func< IDependencyResolver, IEventStore< TAuthenticationToken > > EventStoreCreator [get, set]
 The Func<TResult> used to create the IEventStore<TAuthenticationToken> More...
 
static Func< IDependencyResolver, Type, object > CustomResolver [get, set]
 A custom dependency resolver. More...
 

Detailed Description

A SampleRuntime<TAuthenticationToken,TCommandHanderOrEventHandler> that uses SQL Server.

Template Parameters
TAuthenticationTokenThe Type of authentication token.
TCommandHanderOrEventHandlerThe Type of any ICommandHandle or IEventHandler.