Ejemplo n.º 1
0
 /// <summary>
 /// Closes the archive file. If there is a current transaction,
 /// that transaction is immediately rolled back and disposed.
 /// </summary>
 public void Dispose()
 {
     if (!m_disposed)
     {
         if (m_activeEditor != null)
         {
             m_activeEditor.Dispose();
         }
         m_fileStructure.Dispose();
         m_disposed = true;
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Closes the archive file. If there is a current transaction,
 /// that transaction is immediately rolled back and disposed.
 /// </summary>
 public void Dispose()
 {
     if (!m_disposed)
     {
         foreach (IDisposable d in m_openedFiles.Values)
         {
             d.Dispose();
         }
         m_openedFiles.Clear();
         m_fileStructure.Dispose();
         m_disposed = true;
     }
 }