public CapacityPlanningAggregate(CapacityPlanningId id, ISnapshotPersistence snapshotPersistence, IMongoDbEventSequenceStore sequenceStore, ISnapshotStrategy snapshotStrategy, IEventStore eventStore, ISnapshotStore snapshotStore) : base(snapshotPersistence, sequenceStore, snapshotStrategy, eventStore, snapshotStore, id) { Register(state); }
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; }
public MongoDbEventPersistence(ILog log, IMongoDatabase mongoDatabase, IMongoDbEventSequenceStore mongoDbEventSequenceStore) { _log = log; _mongoDatabase = mongoDatabase; _mongoDbEventSequenceStore = mongoDbEventSequenceStore; }