Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 public Client()
 {
     this.CorpId    = CfgCorpId;
     this.AppKey    = CfgAppKey;
     this.AppSecret = CfgAppSecret;
     handler        = new Handler();
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 public Client(String AppKey, String AppSecret, String ApiServer = null)
 {
     this.AppKey    = AppKey;
     this.AppSecret = AppSecret;
     this.ApiServer = string.IsNullOrEmpty(ApiServer) ? CfgApiServer : ApiServer;
     handler        = new Handler();
 }
Exemplo n.º 3
0
 /// <summary>
 ///
 /// </summary>
 public Client(String CorpId, String AppKey, String AppSecret, String SuiteTicket)
 {
     this.CorpId      = CorpId;
     this.AppKey      = AppKey;
     this.AppSecret   = AppSecret;
     this.SuiteTicket = SuiteTicket;
     handler          = new Handler();
 }
Exemplo n.º 4
0
 /// <summary>
 ///
 /// </summary>
 public Client(String CorpId, String AppKey, String AppSecret, String SuiteTicket, String ApiServer = null)
 {
     this.CorpId      = CorpId;
     this.AppKey      = AppKey;
     this.AppSecret   = AppSecret;
     this.SuiteTicket = SuiteTicket;
     this.ApiServer   = string.IsNullOrEmpty(ApiServer) ? CfgApiServer : ApiServer;
     handler          = new Handler();
 }
Exemplo n.º 5
0
 /// <summary>
 ///
 /// </summary>
 public Client(String AppKey, String AppSecret)
 {
     this.AppKey    = AppKey;
     this.AppSecret = AppSecret;
     handler        = new Handler();
 }