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