示例#1
0
文件: IO.cs 项目: sq/Libraries
        public Future <string> ReadToEnd()
        {
            if (EndOfStream)
            {
                return(new Future <string>(null));
            }

            var thunk = new ReadToEndThunk {
                Parent = this,
            };

            return(thunk.Run());
        }
示例#2
0
文件: IO.cs 项目: sq/Fracture
        public Future<string> ReadToEnd()
        {
            if (EndOfStream) {
                return new Future<string>(null);
            }

            var thunk = new ReadToEndThunk {
                Parent = this,
            };

            return thunk.Run();
        }