Esempio n. 1
0
 public void Dispose()
 {
     if (!_disposed)
     {
         _input.Dispose();
         Ch.Done();
         Ch.Dispose();
         _disposed = true;
     }
 }
 public override void Dispose()
 {
     if (State != CursorState.Done)
     {
         Ch.Dispose();
         foreach (IRowCursor c in _cursorSet)
         {
             c.Dispose();
         }
         base.Dispose();
     }
 }
 public override void Dispose()
 {
     if (State != CursorState.Done)
     {
         Ch.Dispose();
         if (_currentCursor != null)
         {
             _currentCursor.Dispose();
         }
         base.Dispose();
     }
 }
Esempio n. 4
0
 protected override void Dispose(bool disposing)
 {
     if (State == CursorState.Done)
     {
         return;
     }
     if (disposing)
     {
         Ch.Dispose();
         _currentCursor?.Dispose();
     }
     base.Dispose(disposing);
 }
 protected override void Dispose(bool disposing)
 {
     if (_disposed)
     {
         return;
     }
     if (disposing)
     {
         Ch.Dispose();
         _currentCursor?.Dispose();
     }
     _disposed = true;
     base.Dispose(disposing);
 }
Esempio n. 6
0
 protected override void Dispose(bool disposing)
 {
     if (State == CursorState.Done)
     {
         return;
     }
     if (disposing)
     {
         Ch.Dispose();
         foreach (RowCursor c in _cursorSet)
         {
             c.Dispose();
         }
     }
     base.Dispose(disposing);
 }
 protected override void Dispose(bool disposing)
 {
     if (_disposed)
     {
         return;
     }
     if (disposing)
     {
         Ch.Dispose();
         foreach (RowCursor c in _cursorSet)
         {
             c.Dispose();
         }
     }
     _disposed = true;
     base.Dispose(disposing);
 }