public static IPassThrough Pipe( this Stream source, IPassThrough other) { return(new StreamSource(source, true) .Pipe(other)); }
public static ISink Pipe( this IPassThrough source, Stream other) { return(source.Pipe( new StreamSink(other, true) )); }
public IPassThrough Pipe(IPassThrough pipe) { Pipe(pipe as ISink); return(pipe); }
public IPassThrough Pipe(IPassThrough pipe) { _sinks.Add(pipe); pipe.SetSource(this); return(pipe); }