Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 public ClientWorker(String AppKey, String AppSecret)
 {
     this.AppKey    = AppKey;
     this.AppSecret = AppSecret;
     handler        = new ApiHandler();
     handler        = new WorkerHandler(handler);
     handler        = new RetryHandler(handler);
 }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 public ClientWorker(String AppKey, String AppSecret, String ApiServer = null)
 {
     this.AppKey    = AppKey;
     this.AppSecret = AppSecret;
     this.ApiServer = string.IsNullOrEmpty(ApiServer) ? CfgApiServer : ApiServer;
     handler        = new ApiHandler();
     handler        = new WorkerHandler(handler);
     handler        = new RetryHandler(handler);
 }
Beispiel #3
0
 /// <summary>
 ///
 /// </summary>
 public ClientWorker()
 {
     this.CorpId    = CfgCorpId;
     this.AppKey    = CfgAppKey;
     this.AppSecret = CfgAppSecret;
     handler        = new ApiHandler();
     handler        = new WorkerHandler(handler);
     handler        = new RetryHandler(handler);
 }
Beispiel #4
0
 /// <summary>
 ///
 /// </summary>
 public ClientWorker(String CorpId, String AppKey, String AppSecret, String SuiteTicket)
 {
     this.CorpId      = CorpId;
     this.AppKey      = AppKey;
     this.AppSecret   = AppSecret;
     this.SuiteTicket = SuiteTicket;
     handler          = new ApiHandler();
     handler          = new WorkerHandler(handler);
     handler          = new RetryHandler(handler);
 }