/// <summary> /// Internal constructor. This class cannot be instantiated externally. /// </summary> internal ArchiveManager() { if (instance == null) { instance = this; // add zip and folder factories by default instance.AddArchiveFactory(new ZipArchiveFactory()); instance.AddArchiveFactory(new FolderFactory()); } }
/// <summary> /// Called when the engine is shutting down. /// </summary> public void Dispose() { factories.Clear(); instance = null; }
/// <summary> /// Called when the engine is shutting down. /// </summary> public void Dispose() { factories.Clear(); instance = null; }