示例#1
0
        public FileStream(Context loop, System.IO.FileStream stream, int blockSize)
            : base(loop, blockSize)
        {
            if (loop == null)
                throw new ArgumentNullException ("loop");
            if (stream == null)
                throw new ArgumentNullException ("stream");

            this.stream = stream;
        }
示例#2
0
 static ApplicationHost()
 {
     context = IO.Context.Create();
 }