C# Class Gtd.Client.AppEventStore

Inheritance: IEventStore
Show file Open project: beingtheworst/btw-gtd Class Usage Examples

Public Methods

Method Description
AppEventStore ( MessageStore msgStore ) : System.Collections.Generic
AppendEventsToStream ( string name, long streamVersion, ICollection events ) : void
LoadEventStream ( string name ) : EventStream
SetDispatcher ( IHandle dispatcher ) : void

Method Details

AppEventStore() public method

public AppEventStore ( MessageStore msgStore ) : System.Collections.Generic
msgStore MessageStore
return System.Collections.Generic

AppendEventsToStream() public method

public AppendEventsToStream ( string name, long streamVersion, ICollection events ) : void
name string
streamVersion long
events ICollection
return void

LoadEventStream() public method

public LoadEventStream ( string name ) : EventStream
name string
return Gtd.CoreDomain.EventStream

SetDispatcher() public method

public SetDispatcher ( IHandle dispatcher ) : void
dispatcher IHandle
return void