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");
 }