コード例 #1
0
 private static void ClearRelatedCache(ResetUmbracoContentTypesEnum publishedContent, string childArg = null)
 {
     foreach (var key in CacheKeys[publishedContent])
     {
         HttpResponse.RemoveOutputCacheItem(key);
     }
     if (childArg != null && childArg != "#")
     {
         HttpResponse.RemoveOutputCacheItem(childArg);
     }
 }
コード例 #2
0
 private static void ClearRelatedCache(ResetUmbracoContentTypesEnum publishedContent, string childArg = null)
 {
     foreach (var key in CacheKeys[publishedContent])
     {
         HttpResponse.RemoveOutputCacheItem(key);
     }
     if (childArg != null && childArg != "#")
     {
         HttpResponse.RemoveOutputCacheItem(childArg);
     }
 }