Example #1
0
        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);
        }
Example #2
0
        public void Clear()
        {
            var siteId = CmsWebMaster.CurrentManageSite.SiteId;

            if (sign != CacheSign.Unknown)
            {
                if ((sign & CacheSign.Link) != 0)
                {
                    SiteLinkCache.ClearForSite(siteId);
                }
            }
            CmsCacheFactory.Singleton.Clear(Key);
        }
Example #3
0
        /// <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);
        }