public override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SessionFactory.ClearSession(); CacheProvider.Clear(); Logger.Log("Exiting Application"); Activity.FinishAffinity(); }
/// <summary> /// 清空所有缓存 /// </summary> public void Clear() { CacheProvider.Clear(); }
public override void Delete(TIdentity identity) { CacheProvider.Clear(GetWriteThroughCacheKey(identity)); }