public void ReadActivated(Pipe pipe) { // Skip activating if we're detaching this pipe if (m_pipe != pipe) { Debug.Assert(m_terminatingPipes.Contains(pipe)); return; } if (m_engine != null) { m_engine.ActivateOut(); } else { m_pipe.CheckRead(); } }
protected bool XHasIn() { if (m_pipe == null) { return(false); } return(m_pipe.CheckRead()); }