Exemple #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         _baseFile?.Dispose();
     }
 }
Exemple #2
0
        protected virtual void Dispose(bool disposing)
        {
            if (disposing && _baseFile != null)
            {
                _baseFile.Dispose();

                Disposed?.Invoke(this, EventArgs.Empty);
            }
        }