public void Insert( string key, Object value, CacheDependency dependency, DateTime absolute_expiration, TimeSpan sliding_expiration, CacheItemPriority priority, CacheItemRemovedCallback removed_callback ) { this.cache[key] = (byte[])value; var remover = new CacheEntryRemover(Remover); var result = remover.BeginInvoke(key, sliding_expiration, null, null); }
public void Insert( string key, Object value, CacheDependency dependency, DateTime absolute_expiration, TimeSpan sliding_expiration, CacheItemPriority priority, CacheItemRemovedCallback removed_callback ) { this.cache[key] = (byte[])value; var remover = new CacheEntryRemover(Remover); var result = remover.BeginInvoke(key, sliding_expiration, null, null); }