Exemple #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;
        }
 static ApplicationHost()
 {
     context = IO.Context.Create();
 }