public BaseSubscribeToOneStreamEventStoreStream(
     int streamPosition,
     IConnectionStatusMonitor <IEventStoreConnection> connectionMonitor,
     SubscribeToOneStreamFromStartOrLaterEventStoreStreamConfiguration subscribeToOneStreamEventStoreStreamConfiguration,
     IEventTypeProvider eventTypeProvider,
     Microsoft.Extensions.Logging.ILogger?logger = null,
     IKillSwitch?killSwitch = null)
     : base(connectionMonitor, subscribeToOneStreamEventStoreStreamConfiguration, eventTypeProvider, logger)
 {
     _volatileSubscribeToOneStreamEventStoreStreamConfiguration = subscribeToOneStreamEventStoreStreamConfiguration;
     _streamPosition = streamPosition;
     _killSwitch     = killSwitch ?? new KillSwitch();
 }
Exemplo n.º 2
0
 public SubscribeFromEndToOneStreamEventStoreStream(IConnectionStatusMonitor <IEventStoreConnection> connectionMonitor, SubscribeToOneStreamFromStartOrLaterEventStoreStreamConfiguration subscribeToOneStreamEventStoreStreamConfiguration, IEventTypeProvider eventTypeProvider, ILoggerFactory?loggerFactory = null) : base(0, connectionMonitor, subscribeToOneStreamEventStoreStreamConfiguration, eventTypeProvider, loggerFactory?.CreateLogger <SubscribeFromEndToOneStreamEventStoreStream>())
 {
 }