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;
 }
Ejemplo n.º 2
0
 public SnapshotStore(
     ILog log,
     ISnapshotSerilizer snapshotSerilizer,
     ISnapshotPersistence snapshotPersistence)
 {
     _log = log;
     _snapshotSerilizer   = snapshotSerilizer;
     _snapshotPersistence = snapshotPersistence;
 }
Ejemplo n.º 3
0
 public SnapshotStore(
     ILogger <SnapshotStore> logger,
     ISnapshotSerilizer snapshotSerilizer,
     ISnapshotPersistence snapshotPersistence)
 {
     _logger              = logger;
     _snapshotSerilizer   = snapshotSerilizer;
     _snapshotPersistence = snapshotPersistence;
 }
Ejemplo n.º 4
0
 public Runner(IDiskIOWrapper ioWrapper,
               IPathValidator pathValidator,
               IRepositorySnapshotBuilderWrapper builder,
               IStatsEnricher statsEnricher,
               ICoverageReportConverter converter,
               ILogger log,
               ISnapshotPersistence persistence,
               IProgressBarFactory progressBarFactory,
               ICommandLineExecutor executor,
               ISpinner spinner)
 {
     _ioWrapper          = ioWrapper;
     _pathValidator      = pathValidator;
     _builder            = builder;
     _statsEnricher      = statsEnricher;
     _converter          = converter;
     _log                = log;
     _persistence        = persistence;
     _progressBarFactory = progressBarFactory;
     _executor           = executor;
     _spinner            = spinner;
 }
Ejemplo n.º 5
0
 public CapacityPlanningAggregate(CapacityPlanningId id, ISnapshotPersistence snapshotPersistence, IMongoDbEventSequenceStore sequenceStore, ISnapshotStrategy snapshotStrategy, IEventStore eventStore, ISnapshotStore snapshotStore) : base(snapshotPersistence, sequenceStore, snapshotStrategy, eventStore, snapshotStore, id)
 {
     Register(state);
 }
Ejemplo n.º 6
0
 public RunnerBuilder With(ISnapshotPersistence snapshotPersistence)
 {
     _snapshotPersistence = snapshotPersistence;
     return(this);
 }
Ejemplo n.º 7
0
 public AppointmentAggregate(AppointmentId id, ISnapshotPersistence snapshotPersistence, IMongoDbEventSequenceStore sequenceStore, ISnapshotStrategy snapshotStrategy, IEventStore eventStore, ISnapshotStore snapshotStore) : base(snapshotPersistence, sequenceStore, snapshotStrategy, eventStore, snapshotStore, id)
 {
     Register(state);
 }