public EventStoreSubscriptionSource(MemstateSettings settings, IEventStoreConnection connection) { _logger = settings.CreateLogger <EventStoreSubscriptionSource>(); _memstateSettings = settings; _connection = connection; var eventStoreSettings = new EventStoreSettings(settings); _serializer = eventStoreSettings.CreateSerializer(); _streamName = eventStoreSettings.StreamName; }
public EventStoreWriter(MemstateSettings settings, IEventStoreConnection connection) : base(settings) { _connection = connection; _logger = settings.CreateLogger <EventStoreWriter>(); var eventStoreSettings = new EventStoreSettings(settings); _serializer = eventStoreSettings.CreateSerializer(); _streamName = eventStoreSettings.StreamName; }