public object this[string key] { get { return(PersistableCacheHelper.Get(key)); } set { PersistableCacheHelper.Add(key, value, DefaultCacheTime); } }
public void RemoveAll() { PersistableCacheHelper.Clear(); }
public void Remove(string key) { PersistableCacheHelper.Remove(key); }
public void GetAsync <T>(string key, Action <T> callback) { PersistableCacheHelper.GetAsync(key, callback); }
public T Get <T>(string key) { return(PersistableCacheHelper.Get <T>(key)); }
public object Get(string key) { return(PersistableCacheHelper.Get(key)); }
public void AddAsync(string key, TimeSpan cacheTime, Action <string, Action <object> > getDataAction) { PersistableCacheHelper.AddAsyncAction(key, cacheTime, getDataAction); }
public void Add(string key, object value, TimeSpan cacheTime) { PersistableCacheHelper.Add(key, value, cacheTime); }
public void Add(string key, object value) { PersistableCacheHelper.Add(key, value, DefaultCacheTime); }