C# Class NDomain.EventSourcing.EventStore

Inheritance: IEventStore
Afficher le fichier Open project: mfelicio/NDomain Class Usage Examples

Méthodes publiques

Méthode Description
Append ( string aggregateId, int expectedVersion, IEnumerable events ) : System.Threading.Tasks.Task
EventStore ( IEventStoreDb db, IEventStoreBus bus, IEventStoreSerializer serializer ) : Newtonsoft.Json.Linq
Load ( string aggregateId ) : Task>
LoadRange ( string aggregateId, int start, int end ) : Task>

Private Methods

Méthode Description
CheckAndProcessUncommittedEvents ( string aggregateId, string transactionId ) : System.Threading.Tasks.Task

Method Details

Append() public méthode

public Append ( string aggregateId, int expectedVersion, IEnumerable events ) : System.Threading.Tasks.Task
aggregateId string
expectedVersion int
events IEnumerable
Résultat System.Threading.Tasks.Task

EventStore() public méthode

public EventStore ( IEventStoreDb db, IEventStoreBus bus, IEventStoreSerializer serializer ) : Newtonsoft.Json.Linq
db IEventStoreDb
bus IEventStoreBus
serializer IEventStoreSerializer
Résultat Newtonsoft.Json.Linq

Load() public méthode

public Load ( string aggregateId ) : Task>
aggregateId string
Résultat Task>

LoadRange() public méthode

public LoadRange ( string aggregateId, int start, int end ) : Task>
aggregateId string
start int
end int
Résultat Task>