Пример #1
0
        public void NewImage(UserImageDTO image)
        {
            var action = new
            {
                type = "NEW_IMAGE",
                item = image
            };

            session.Broadcast(action);
        }
Пример #2
0
        public void NewForumThread(ThreadPostContentDTO forumThread)
        {
            var action = new
            {
                type = "NEW_FORUM_THREAD",
                item = forumThread
            };

            session.Broadcast(action);
        }
Пример #3
0
        public void NewImageComment(ImageCommentDTO comment)
        {
            var action = new
            {
                type = "NEW_IMAGE_COMMENT",
                item = comment
            };

            session.Broadcast(action);
        }