Ejemplo n.º 1
0
        /// <summary>
        /// 业务逻辑处理
        /// </summary>
        /// <returns>false:中断后面的方式执行并返回Error</returns>
        public override bool TakeAction()
        {
            var chatservice = new MyChatService(Current.User as ChatUser);

            chatservice.Send(_message);
            return(true);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 业务逻辑处理
        /// </summary>
        /// <returns>false:中断后面的方式执行并返回Error</returns>
        public override bool TakeAction()
        {
            var chatservice = new MyChatService(Current.User as ChatUser);

            chatList = chatservice.PopMessages();
            return(true);
        }