Пример #1
0
 public void EndRead()
 {
     if (_reader != null)
     {
         _reader.Dispose();
         _reader = null;
     }
 }
Пример #2
0
 public override void EndRead()
 {
     try
     {
         if (_reader != null)
         {
             _reader.Dispose();
             _reader = null;
         }
     }
     finally
     {
         _readIsFinished = true;
         _isReady        = false;
     }
 }