public Stream OpenFile(string filename, bool forceReload) { if (forceReload && _files.ContainsKey(filename)) { long length = _files[filename].Length; _files.RemoveByKey(filename); if (_freeFiles.Contains(filename)) { _freeFiles.Remove(filename); } _currentBufferSize -= length; } this.CacheFile(filename); return(_files[filename]); }
public void RemoveByKey(string key) { m_Panels.RemoveByKey(key); }
public void RemovePlugin(string key) { _Plugins.RemoveByKey(key); _PluginsLoaded.RemoveByKey(key); }