Example #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!disposed)
     {
         pauStream?.Dispose();
         ptaFile?.Dispose();
     }
     disposed = true;
 }
Example #2
0
 protected override void Dispose(bool disposing)
 {
     if (disposed)
     {
         return;
     }
     if (disposing)
     {
         _parFile?.Dispose();
     }
     disposed = true;
     base.Dispose(disposing);
 }