/// <summary>
 /// Initializes a new instance of the <see cref="ModelRepositoryDeletionCoordinator" /> class.
 /// </summary>
 /// <param name="eventDatastore">The event datastore.</param>
 /// <param name="snapshotDatastore">The snapshot datastore.</param>
 /// <param name="eventDocumentStoreCache">The event document store cache.</param>
 /// <param name="snapshotDocumentStoreCache">The snapshot document store cache.</param>
 public ModelRepositoryDeletionCoordinator(
     IEventDatastore eventDatastore,
     ISnapshotDatastore snapshotDatastore,
     IDocumentStoreCache <IDomainEvent> eventDocumentStoreCache,
     IDocumentStoreCache <SnapshotBase> snapshotDocumentStoreCache)
 {
     _eventDatastore             = eventDatastore;
     _snapshotDatastore          = snapshotDatastore;
     _eventDocumentStoreCache    = eventDocumentStoreCache;
     _snapshotDocumentStoreCache = snapshotDocumentStoreCache;
 }
Exemple #2
0
 /// <summary>
 /// Initializes this object
 /// </summary>
 public DocumentDatabaseEventStore(IEventDatastore datastore)
 {
     _datastore = datastore;
 }