예제 #1
0
파일: Channel.cs 프로젝트: jdruin/F5Eagle
        ///////////////////////////////////////////////////////////////////////////////////////////////

#if NET_40 && CONSOLE
        private static Stream GetInnerStream(
            Stream stream
            )
        {
            ChannelStream channelStream = stream as ChannelStream;

            if (channelStream == null)
            {
                return(null);
            }

            return(channelStream.GetStream());
        }
예제 #2
0
파일: Channel.cs 프로젝트: jdruin/F5Eagle
        ///////////////////////////////////////////////////////////////////////////////////////////////

        public Stream GetInnerStream()
        {
            CheckDisposed();

            return((stream != null) ? stream.GetStream() : null);
        }