C# Class CQRSalad.EventStore.MongoDB.MongoSnapshotStore

Inheritance: ISnapshotStore
Afficher le fichier Open project: Ontropix/CQRSalad

Méthodes publiques

Méthode Description
LoadSnapshot ( string aggregateId ) : Task
MongoSnapshotStore ( IMongoDatabase mongoDatabase, MongoSnapshotsOptions options ) : System.Threading.Tasks
SaveSnapshot ( AggregateSnapshot snapshot ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
GetCollection ( ) : IMongoCollection

Method Details

LoadSnapshot() public méthode

public LoadSnapshot ( string aggregateId ) : Task
aggregateId string
Résultat Task

MongoSnapshotStore() public méthode

public MongoSnapshotStore ( IMongoDatabase mongoDatabase, MongoSnapshotsOptions options ) : System.Threading.Tasks
mongoDatabase IMongoDatabase
options MongoSnapshotsOptions
Résultat System.Threading.Tasks

SaveSnapshot() public méthode

public SaveSnapshot ( AggregateSnapshot snapshot ) : System.Threading.Tasks.Task
snapshot CQRSalad.EventSourcing.AggregateSnapshot
Résultat System.Threading.Tasks.Task