Beispiel #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             if (zipArchive != null)
             {
                 zipArchive.Dispose();
             }
             if (rarArchive != null)
             {
                 rarArchive.Dispose();
             }
             if (gZipArchive != null)
             {
                 gZipArchive.Dispose();
             }
             if (sevenZipArchive != null)
             {
                 sevenZipArchive.Dispose();
             }
             streamReader.Dispose();
         }
         disposed = true;
     }
 }