Пример #1
0
 public void Dispose()
 {
     if (Pos != 0)
     {
         FlushBuffer();
     }
     _stream.Dispose();
 }
 public void Dispose()
 {
     Log("LoggingStream disposed");
     if (_dispose && _positionLessStream != null)
     {
         _positionLessStream.Dispose();
         _positionLessStream = null;
     }
 }
Пример #3
0
 void DisposeStream()
 {
     _stream.Dispose();
 }
Пример #4
0
 public void TearDown()
 {
     _db.Dispose();
     _dbstream.Dispose();
 }