Пример #1
0
 public VerifyUserRequest(WxRequest request, WxRecommendInfo info, string passTicket)
     : this()
 {
     this.Request       = request;
     this.RecommendInfo = info;
     this.PassTicket    = passTicket;
 }
Пример #2
0
 public WxStatusNotifyRequest(WxRequest request, string fromUserName, string toUserName)
     : this()
 {
     this.WxRequest    = request;
     this.FromUserName = fromUserName;
     this.ToUserName   = toUserName;
 }
Пример #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="request"></param>
 /// <param name="syncKeyList">初始化的时候返回的SyncKey</param>
 public SyncCheckRequest(WxRequest request, WxList[] syncKeyList)
     : this()
 {
     this.SKey     = request.Skey;
     this.SId      = request.Sid;
     this.DeviceId = request.DeviceID;
     this.Uin      = request.Uin;
     this.Keys     = syncKeyList;
 }
Пример #4
0
 public WxSyncRequest(WxRequest request, string passTicket, WxSyncKey syncKey,
                      string sid, string skey, string lang = "zh_CN")
     : this()
 {
     this.Request    = new _WxSyncRequest(request, syncKey);
     this.PassTicket = passTicket;
     this.SId        = sid;
     this.SKey       = skey;
     this.Lang       = lang;
 }
Пример #5
0
 public BatchGetContactRequest(
     WxRequest request,
     _BatchGetContactRequestItem[] list,
     string passTicket)
     : this()
 {
     this.WxRequest  = request;
     this.List       = list;
     this.PassTicket = passTicket;
 }
Пример #6
0
 public UploadMediaRequest(FileInfo file, WxRequest request, string fromUserName, string toUserName, string wxDataTicket, string passTicket)
     : this()
 {
     this._fileInfo       = file;
     this.BaseRequest     = request;
     this.FromUserName    = fromUserName;
     this.ToUserName      = toUserName;
     this.WebWxDataTicket = wxDataTicket;
     this.PassTicket      = passTicket;
 }
Пример #7
0
 public _VerifyUserRequest(WxRequest request, WxRecommendInfo recommendInfo)
     : this()
 {
     this.BaseRequest    = request;
     this.skey           = request.Skey;
     this.VerifyUserList = new Verifyuserlist[] { new Verifyuserlist {
                                                      Value            = recommendInfo.UserName,
                                                      VerifyUserTicket = recommendInfo.Ticket
                                                  } };
     this.SceneList = new int[] { 33 };
 }
Пример #8
0
 public WxBaseRequest(WxRequest reuest)
     : this()
 {
     this.BaseRequest = reuest;
 }
Пример #9
0
 public _WxSyncRequest(WxRequest request, WxSyncKey syncKey)
     : this()
 {
     this.BaseRequest = new WxBaseRequest(request);
     this.SyncKey     = syncKey;
 }
 public OpenWxStatusNotifyRequest(WxRequest request, string userName)
     : this()
 {
     this.WxRequest = request;
     this.UserName  = userName;
 }
Пример #11
0
 public WxInitRequest(WxRequest request)
     : this()
 {
     this.BaseRequest = new WxBaseRequest(request);
 }
Пример #12
0
 public _UploadMediaRequest(WxRequest request)
     : this()
 {
     this.BaseRequest = request;
 }