CacheItem RemoveCacheItem (string key) { if (key == null) return null; CacheItem ret = cache [key]; if (ret == null) return null; if (timedItems != null) timedItems.OnItemDisable (ret); ret.Disabled = true; cache.Remove (key); return ret; }