Exemple #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (IsDisposed)
     {
         return;             //skip redundant calls
     }
     if (disposing)
     {
         _safeByteCollection.Dispose();
     }
     IsDisposed = true;
 }
 protected override void DisposeManagedResources()
 {
     _safeByteCollection?.Dispose();
 }