I added support to call BeginUpdate before and CommitUpdate after any action that modifies the file system.
Without that, the SharpZip library threw exceptions when attempting to create a file or directory because BeginInvoke had not been called. Further, CommitUpdate was only being called on Dispose(), so updates would not be available until the filesystem had been disposed, and then re instantiated.
I added support to call BeginUpdate before and CommitUpdate after any action that modifies the file system.
Without that, the SharpZip library threw exceptions when attempting to create a file or directory because BeginInvoke had not been called. Further, CommitUpdate was only being called on Dispose(), so updates would not be available until the filesystem had been disposed, and then re instantiated.