示例#1
0
        public override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            SessionFactory.ClearSession();
            CacheProvider.Clear();
            Logger.Log("Exiting Application");
            Activity.FinishAffinity();
        }
示例#2
0
 /// <summary>
 /// 清空所有缓存
 /// </summary>
 public void Clear()
 {
     CacheProvider.Clear();
 }
示例#3
0
 public override void Delete(TIdentity identity)
 {
     CacheProvider.Clear(GetWriteThroughCacheKey(identity));
 }