Пример #1
0
 public IAsyncResult BeginRead(AsyncCallback callback)
 {
     _trigger.Reset();
     Thread.Sleep(2);
     _trigger.Set();
     callback(_trigger);
     return(_trigger);
 }