public void Clear() { int siteId = CmsWebMaster.CurrentManageSite.SiteId; if (this.sign != CacheSign.Unknown) { if ((this.sign & CacheSign.Link) != 0) { SiteLinkCache.ClearForSite(siteId); } } CacheFactory.Sington.Clear(this.Key); }
public void Clear() { var siteId = CmsWebMaster.CurrentManageSite.SiteId; if (sign != CacheSign.Unknown) { if ((sign & CacheSign.Link) != 0) { SiteLinkCache.ClearForSite(siteId); } } CmsCacheFactory.Singleton.Clear(Key); }
/// <summary> /// /// </summary> public void Clean() { if (_sign == CacheSign.Unknown) { return; } var siteId = CmsWebMaster.CurrentManageSite.SiteId; if ((_sign & CacheSign.Link) != 0) { SiteLinkCache.ClearForSite(siteId); Cms.Template.CleanPageCache(); } //CmsCacheFactory.Singleton.Clear(Key); }