public void Evict(object key) { if (InnerCache.MaxSize == 0) { return; } if (InnerCache.ContainsKey(key)) { base.Remove(key); } }
public object Get(string cacheKey) { return(!InnerCache.ContainsKey(cacheKey) ? null : InnerCache.GetValue(cacheKey)); }
public bool ContainsSite(string name) { return(InnerCache.ContainsKey(name)); }
//ContainsSite public bool ContainsSite(Site siteItem) { return(InnerCache.ContainsKey(siteItem.Name)); }
public bool Contains(int zip) { return(InnerCache.ContainsKey(zip)); }