Exemple #1
0
 public System.Threading.Tasks.Task <Status.ServiceReference1.ShortenUrlResponse> ShortenUrlAsync(string inputUrl, string pass)
 {
     Status.ServiceReference1.ShortenUrlRequest inValue = new Status.ServiceReference1.ShortenUrlRequest();
     inValue.Body          = new Status.ServiceReference1.ShortenUrlRequestBody();
     inValue.Body.inputUrl = inputUrl;
     inValue.Body.pass     = pass;
     return(((Status.ServiceReference1.UrlShorteningServiceSoap)(this)).ShortenUrlAsync(inValue));
 }
Exemple #2
0
 public string ShortenUrl(string inputUrl, string pass)
 {
     Status.ServiceReference1.ShortenUrlRequest inValue = new Status.ServiceReference1.ShortenUrlRequest();
     inValue.Body          = new Status.ServiceReference1.ShortenUrlRequestBody();
     inValue.Body.inputUrl = inputUrl;
     inValue.Body.pass     = pass;
     Status.ServiceReference1.ShortenUrlResponse retVal = ((Status.ServiceReference1.UrlShorteningServiceSoap)(this)).ShortenUrl(inValue);
     return(retVal.Body.ShortenUrlResult);
 }
Exemple #3
0
 System.Threading.Tasks.Task <Status.ServiceReference1.ShortenUrlResponse> Status.ServiceReference1.UrlShorteningServiceSoap.ShortenUrlAsync(Status.ServiceReference1.ShortenUrlRequest request)
 {
     return(base.Channel.ShortenUrlAsync(request));
 }
Exemple #4
0
 Status.ServiceReference1.ShortenUrlResponse Status.ServiceReference1.UrlShorteningServiceSoap.ShortenUrl(Status.ServiceReference1.ShortenUrlRequest request)
 {
     return(base.Channel.ShortenUrl(request));
 }