Exemplo n.º 1
0
        public InitializeProjections()
        {
            Container.Inject(_eventStore);

            _projectionsBootstrapper = Container.GetInstance <ProjectionsBootstrapper>();
            _finder = Container.GetInstance <ISynchronizationFinder>();
        }
Exemplo n.º 2
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;
 }