Exemplo n.º 1
0
 /// <summary>
 /// 构造函数,把请求消息封装到微信请求/响应上下文属性
 /// </summary>
 /// <param name="requestXml">请求消息xml</param>
 public WeiXinContext(XElement requestXml)
 {
     Request  = new WeiXinRequest(requestXml);
     Response = new WeiXinResponse();
 }
Exemplo n.º 2
0
 /// <summary>
 /// 构造函数,把请求消息封装到微信请求/响应上下文属性
 /// </summary>
 /// <param name="requestXml">请求消息xml</param>
 public WeiXinContext(XElement requestXml)
 {
     Request=new WeiXinRequest(requestXml);
     Response=new WeiXinResponse();
 }