public StreamSubscriber(ILogger <StreamSubscriber> logger, IEventStoreDb eventStoreDb, IStreamManager streamManager, IStreamHandler streamHandler) { _logger = logger; _streamManager = streamManager; _streamHandler = streamHandler; _eventStoreClient = eventStoreDb.GetClient(); }
public EventsRepository(IEventStoreDb eventStoreDb, IEventStoreDbSerializer eventStoreDbSerializer) { _eventStoreDbSerializer = eventStoreDbSerializer; _eventStoreClient = eventStoreDb.GetClient(); }