Пример #1
0
 private void Dispose(bool disposing)
 {
     Container.Clear();
     DisposeList?.ForEach(i => i.TryDispose());
     DisposeList?.Clear();
     if (disposing)
     {
         GC.SuppressFinalize(this);
     }
     if (DoLogging)
     {
         Logging.DebugMessage("context.Dispose({0})", disposing);
     }
 }