Esempio n. 1
0
File: IO.cs Progetto: sq/Libraries
        public Future <string> ReadToEnd()
        {
            if (EndOfStream)
            {
                return(new Future <string>(null));
            }

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

            return(thunk.Run());
        }
Esempio n. 2
0
File: IO.cs Progetto: sq/Fracture
        public Future<string> ReadToEnd()
        {
            if (EndOfStream) {
                return new Future<string>(null);
            }

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

            return thunk.Run();
        }