Esempio n. 1
0
 public static string PrepareRequest(MethodType methodType, string key, GetBy getBy, string value, Days ofDays)
 {
     return(string.Concat(methodType.GetParameters(), "?key=", key, "&", getBy.PrepareQueryParameter(value), "&", ofDays.PrepareDays()));
 }
Esempio n. 2
0
 public static string PrepareRequestByAutoIP(MethodType methodType, string key, Days ofDays)
 {
     return(string.Concat(methodType.GetParameters(), "?key=", key, "&", ReqestFor.AutoIP(), "&", ofDays.PrepareDays()));
 }
Esempio n. 3
0
 public static string PrepareRequestByAutoIP(MethodType methodType, string key, DateTime date)
 {
     return(string.Concat(methodType.GetParameters(), "?key=", key, "&", ReqestFor.AutoIP(), "&", ReqestFor.Date(date)));
 }
Esempio n. 4
0
 public static string PrepareRequestByLatLong(MethodType methodType, string key, string latitude, string longitude, DateTime date)
 {
     return(string.Concat(methodType.GetParameters(), "?key=", key, "&", ReqestFor.LatLong(latitude, longitude), "&", ReqestFor.Date(date)));
 }
Esempio n. 5
0
 public static string PrepareRequest(MethodType methodType, string key, GetBy getBy, string value, DateTime date)
 {
     return(string.Concat(methodType.GetParameters(), "?key=", key, "&", getBy.PrepareQueryParameter(value), "&", ReqestFor.Date(date)));
 }
Esempio n. 6
0
 public static string PrepareRequestByLatLong(MethodType methodType, string key, string latitude, string longitude)
 {
     return string.Concat(methodType.GetParameters(), "?key=", key, "&", ReqestFor.LatLong(latitude, longitude));
 }
Esempio n. 7
0
 public static string PrepareRequestByAutoIP(MethodType methodType, string key)
 {
     return string.Concat(methodType.GetParameters(), "?key=", key, "&", ReqestFor.AutoIP());
 }
Esempio n. 8
0
 public static string PrepareRequest(MethodType methodType, string key, GetBy getBy, string value)
 {
     return string.Concat(methodType.GetParameters(), "?key=", key, "&", getBy.PrepareQueryParameter(value));
 }