Esempio n. 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));
 }
Esempio n. 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);
 }
Esempio n. 3
0
 System.Threading.Tasks.Task <Status.ServiceReference1.ShortenUrlResponse> Status.ServiceReference1.UrlShorteningServiceSoap.ShortenUrlAsync(Status.ServiceReference1.ShortenUrlRequest request)
 {
     return(base.Channel.ShortenUrlAsync(request));
 }
Esempio n. 4
0
 Status.ServiceReference1.ShortenUrlResponse Status.ServiceReference1.UrlShorteningServiceSoap.ShortenUrl(Status.ServiceReference1.ShortenUrlRequest request)
 {
     return(base.Channel.ShortenUrl(request));
 }