Esempio n. 1
0
 public virtual void SaveToCache(string newKey = null)
 {
     BaseCacheable <T, K> .SaveToCache((T)this, newKey);
 }
Esempio n. 2
0
        //public virtual T ReadFromCache() { return BaseCacheable<T, K>.ReadFromCache(_UniqueCacheKey); }

        public virtual void RemoveFromCache()
        {
            BaseCacheable <T, K> .RemoveFromCache((T)this);
        }
Esempio n. 3
0
 public virtual bool ExistsInCache()
 {
     return(BaseCacheable <T, K> .ExistsInCache(_UniqueCacheKey));
 }