protected void ConvertEntity(string xml) { CurrentRootMsg = RequestMsgFactory.ConvertEntity(xml); }
/// <summary> /// 构造器 /// </summary> /// <param name="xml">微信端传入的XML字符串</param> /// <param name="authSignature">签名认证实体信息</param> public HandlerMsgCenter(string xml, AuthSignature authSignature) { //转换成实体类型 CurrentRootMsg = RequestMsgFactory.ConvertEntity(xml); }