public InitializeProjections() { Container.Inject(_eventStore); _projectionsBootstrapper = Container.GetInstance <ProjectionsBootstrapper>(); _finder = Container.GetInstance <ISynchronizationFinder>(); }
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; }