Пример #1
0
 protected override void Dispose(bool disposing)
 {
     if (db != null)
     {
         db.Dispose();
     }
     if (ErrorCollector != null)
     {
         ErrorCollector.Dispose();
     }
     base.Dispose(disposing);
 }