public PipeTransport(Pipe pipe) { // parameters validation if (pipe == null) throw new ArgumentNullException("pipe"); _pipe = pipe; }
public PipeInstancePool(Pipe pipe) { // parameters validation if (pipe == null) throw new ArgumentNullException("pipe"); _pipe = pipe; // first pipe instance is the first item in the pool StoreInstance(_pipe.Instance); }
internal Pipe(PipeInstance instance, Pipe parent) { _instance = instance; _parent = parent; }