public CallObject(CallbackDelegate callback, APIInstance api, string url, List <Param> param)
 {
     this.callback += callback;
     this.api       = api;
     this.URL       = url;
     this.PARAM     = param;
 }
Example #2
0
 public static APIInstance GetInstance()
 {
     if (instance == null)
     {
         string url = ConfigurationManager.AppSettings.Get("applink.api");
         instance = new APIInstance(url);
     }
     return(instance);
 }