コード例 #1
0
        /// <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;
        }
コード例 #2
0
        /// <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;
        }