public void Handle(CacherExceptionEvent @event)
        {
            GGUMessageInfo mi = new GGUMessageInfo();

            mi.Recievers = @event.Reciever;
            mi.Content   = "cache error";
            gGU.Send(mi);
        }
Beispiel #2
0
        public void Handle(CommentAddedEvent @event)
        {
            GGUMessageInfo info = new GGUMessageInfo()
            {
                Recievers = new string[] { @event.Article.Author },
                Content   = @event.CurrentComment.Author + " 评论了你的文章: " + @event.CurrentComment.Content
            };

            messager.Send(info);
        }
Beispiel #3
0
 public void Send(GGUMessageInfo config)
 {
 }