private OnItemDisable ( System.Web.Caching.CacheItem i ) : void | ||
i | System.Web.Caching.CacheItem | |
Результат | void |
// Must ALWAYS be called with the cache write lock held 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); }