public StreamPipelineConnection(PipelineFactory factory, Stream stream)
 {
     Input  = factory.CreateReader(stream);
     Output = factory.CreateWriter(stream);
 }
 public StreamPipelineConnection(PipelineFactory factory, Stream stream)
 {
     Input = factory.CreateReader(stream);
     Output = factory.CreateWriter(stream);
 }