コード例 #1
0
        public void SetNotFoundPage(PageNotFound pnf)
        {
            Config.SetNotFoundPage(pnf.ParentId, pnf.NotFoundPageId);

            DistributedCache.Instance.RefreshPageNotFoundConfig(pnf);
        }
 public static void RefreshPageNotFoundConfig(this DistributedCache dc, PageNotFound pageNotFound)
 {
     dc.RefreshByPayload(new Guid(PageNotFoundManagerCacheRefresher.Id), pageNotFound);
 }
コード例 #3
0
 public void SetNotFoundPage(PageNotFound pnf)
 {
     Config.SetNotFoundPage(pnf.ParentId, pnf.NotFoundPageId);
 }