public EventStreamSelfHealingWriter(IEventStreamWriter innerWriter, Func<Stream, IEventReader, IEventStreamVerifier> eventStreamVerifierFactory)
 {
     if (innerWriter == null) throw new ArgumentNullException("innerWriter");
     if (eventStreamVerifierFactory == null) throw new ArgumentNullException("eventStreamVerifierFactory");
     _innerWriter = innerWriter;
     _eventStreamVerifierFactory = eventStreamVerifierFactory;
 }
        public EventStreamProducer(IEventStreamWriter streamWriter, IRetryPolicy retryPolicy)
        {
            Require.NotNull(streamWriter, "streamWriter");
            Require.NotNull(retryPolicy, "retryPolicy");

            m_streamWriter = streamWriter;
            m_retryPolicy = retryPolicy;
        }
 public EventStreamSelfHealingWriter(IEventStreamWriter innerWriter)
     : this(innerWriter, EventStreamVerifier.Factory)
 {
 }