/// <summary> /// Creates an new abstract pipe using the given pipe as element source. /// </summary> /// <param name="SourcePipe">A pipe as element source.</param> public AbstractPipe(IEndPipe <S> SourcePipe) { SourcePipe.CheckNull("SourcePipe"); this.SourcePipe = SourcePipe; }
/// <summary> /// Set the given pipe as element source. /// </summary> /// <param name="SourcePipe">A pipe as element source.</param> public virtual void SetSource(IEndPipe <S> SourcePipe) { SourcePipe.CheckNull("SourcePipe"); this.SourcePipe = SourcePipe; }