예제 #1
0
 public CapacityPlanningAggregate(CapacityPlanningId id, ISnapshotPersistence snapshotPersistence, IMongoDbEventSequenceStore sequenceStore, ISnapshotStrategy snapshotStrategy, IEventStore eventStore, ISnapshotStore snapshotStore) : base(snapshotPersistence, sequenceStore, snapshotStrategy, eventStore, snapshotStore, id)
 {
     Register(state);
 }
예제 #2
0
 public AppointmentAggregate(AppointmentId id, ISnapshotPersistence snapshotPersistence, IMongoDbEventSequenceStore sequenceStore, ISnapshotStrategy snapshotStrategy, IEventStore eventStore, ISnapshotStore snapshotStore) : base(snapshotPersistence, sequenceStore, snapshotStrategy, eventStore, snapshotStore, id)
 {
     Register(state);
 }
 public SnapshotAggregateRootWithSequenceStore(ISnapshotPersistence snapshotPersistence, IMongoDbEventSequenceStore sequenceStore, ISnapshotStrategy snapshotStrategy, IEventStore eventStore, ISnapshotStore snapshotStore, TIdentity id) : base(id, snapshotStrategy)
 {
     this.sequenceStore       = sequenceStore;
     this.snapshotPersistence = snapshotPersistence;
     this.eventStore          = eventStore;
     this.snapshotStore       = snapshotStore;
 }
예제 #4
0
 public MongoDbEventPersistence(ILog log, IMongoDatabase mongoDatabase, IMongoDbEventSequenceStore mongoDbEventSequenceStore)
 {
     _log                       = log;
     _mongoDatabase             = mongoDatabase;
     _mongoDbEventSequenceStore = mongoDbEventSequenceStore;
 }