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