Exemplo n.º 1
0
 public Aggregator(
     IEventBus eventBus,
     IEventStoreExtended eventStore,
     IEventPublisher eventPublisher,
     IEventPositionRepository eventPositionRepository,
     ILogger logger,
     FeedsSynchronizer feedsSynchronizer,
     ProjectionsBootstrapper projectionsBootstrapper)
 {
     _eventBus                = eventBus;
     _feedsSynchronizer       = feedsSynchronizer;
     _eventPublisher          = eventPublisher;
     _logger                  = logger;
     _projectionsBootstrapper = projectionsBootstrapper;
     _eventPositionRepository = eventPositionRepository;
     _eventStore              = eventStore;
 }
Exemplo n.º 2
0
 public ProjectionsBootstrapper(IEventStoreExtended eventStore, IProjectionLocator projectionLocator, ILogger logger)
 {
     _eventStore        = eventStore;
     _projectionLocator = projectionLocator;
     _logger            = logger;
 }