Exemplo n.º 1
0
        private static void updatePost(ForumApp app)
        {
            if (app.OwnerType != typeof(Site).FullName)
            {
                return;
            }

            IMember owner = Site.Instance;

            //LayoutViewCacher.Update( owner, appId );
            IndexViewCacher.Update(owner, app.Id);
        }
Exemplo n.º 2
0
        private static void updatePost(ForumLink post)
        {
            if (post.OwnerType != typeof(Site).FullName)
            {
                return;
            }

            IMember owner = Site.Instance;
            int     appId = post.AppId;

            //LayoutViewCacher.Update( owner, appId );
            IndexViewCacher.Update(owner, appId);
        }
Exemplo n.º 3
0
        private static void updatePost(ForumPost post)
        {
            if (post.OwnerType != typeof(Site).FullName)
            {
                return;
            }

            IMember owner = Site.Instance;
            int     appId = post.AppId;

            IndexViewCacher.Update(owner, appId);
            BoardViewCacher.Update(owner, appId, post.ForumBoardId, 1);
            RecentViewCacher.Update(owner, appId, "Post");
        }