public SplitStream(IEnumerable<Stream> targetStreams, ISplitStreamExceptionHandler exceptionHandler) { if (targetStreams == null) targetStreams = Enumerable.Empty<Stream>(); _targetStreams = targetStreams.ToArray(); _exceptionHandler = exceptionHandler; }
public SplitStreamBuilder SetExceptionHandler(ISplitStreamExceptionHandler exceptionHandler) { _exceptionHandler = exceptionHandler; return this; }