using IPADDemo.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IPADDemo.Model { /// /// 委托存放 /// public static class WxDelegate { public static QrCode qrCode { get; set; } public static Show show { get; set; } public static GetContact getContact { get; set; } public static GetGroup getGroup { get; set; } public static GetGZH getGZH { get; set; } public static MsgCallBack msgCallBack { get; set; } } /// /// 二维码 /// /// public delegate void QrCode(string qrcode); /// /// 系统通知 /// public delegate void Show(string str); /// /// 获取联系人 /// public delegate void GetContact(Contact contact); /// /// 获取群组 /// public delegate void GetGroup(Contact group); /// /// 获取公众号 /// public delegate void GetGZH(Contact group); public delegate void MsgCallBack(WxTtsMsg wxTtsMsg); }