Example #1
0
 public EventStore(
     IConfiguration configuration,
     IEventStoreMessageQueue eventStoreMessageQueue,
     IDateTime dateTime = default(IDateTime),
     IServiceScopeFactory serviceScopeFactory = default(IServiceScopeFactory)
     )
 {
     _configuration          = configuration;
     _serviceScopeFactory    = serviceScopeFactory;
     _dateTime               = dateTime;
     _eventStoreMessageQueue = eventStoreMessageQueue;
 }
Example #2
0
        public EventStoreMessageProcessor(IEventStoreMessageQueue queue, IServiceScopeFactory serviceScopeFactory)
        {
            _serviceScopeFactory = serviceScopeFactory;

            _queue = queue;
        }