public static void ClearCategoriesCache()
 {
     WebCache.Remove("category-cache");
 }
예제 #2
0
 public static void Remove(string key)
 {
     WebCache.Remove(key);
 }
예제 #3
0
 public static void RemoveProjectFromCache()
 {
     WebCache.Remove("proje-cache");
 }
예제 #4
0
        /// <summary>
        /// 清理缓存
        /// </summary>
        public static void ClearCache(Guid token)
        {
            string key = token.ToString();

            WebCache.Remove(key);
        }
예제 #5
0
 private void ClearCache() => WebCache.Remove(MoneyListCacheName);
예제 #6
0
 public static void RemoveCache(CacheHelperKeys cacheKey = CacheHelperKeys.constCategoryList)
 {
     WebCache.Remove(cacheKey.ToString());
 }
예제 #7
0
 /// <summary>
 /// 更新网站配置
 /// </summary>
 /// <param name="settings">网站配置实体</param>
 public static void SaveMasterSettings(SiteSettings settings)
 {
     saveMasterSettings(settings);
     WebCache.Remove("FileCache-MasterSettings");
 }