Esempio n. 1
0
 public System.IAsyncResult BeginGetWeature(WindowsFormsClient.SampleSvc.GetWeatherRequest req, System.AsyncCallback callback, object asyncState)
 {
     WindowsFormsClient.SampleSvc.GetWeatureRequest inValue = new WindowsFormsClient.SampleSvc.GetWeatureRequest();
     inValue.Body     = new WindowsFormsClient.SampleSvc.GetWeatureRequestBody();
     inValue.Body.req = req;
     return(((WindowsFormsClient.SampleSvc.SampleServiceSoap)(this)).BeginGetWeature(inValue, callback, asyncState));
 }
Esempio n. 2
0
 public WindowsFormsClient.SampleSvc.GetWeatherResponse GetWeature(WindowsFormsClient.SampleSvc.GetWeatherRequest req)
 {
     WindowsFormsClient.SampleSvc.GetWeatureRequest inValue = new WindowsFormsClient.SampleSvc.GetWeatureRequest();
     inValue.Body     = new WindowsFormsClient.SampleSvc.GetWeatureRequestBody();
     inValue.Body.req = req;
     WindowsFormsClient.SampleSvc.GetWeatureResponse retVal = ((WindowsFormsClient.SampleSvc.SampleServiceSoap)(this)).GetWeature(inValue);
     return(retVal.Body.GetWeatureResult);
 }
Esempio n. 3
0
 public void GetWeatureAsync(WindowsFormsClient.SampleSvc.GetWeatherRequest req, object userState)
 {
     if ((this.onBeginGetWeatureDelegate == null))
     {
         this.onBeginGetWeatureDelegate = new BeginOperationDelegate(this.OnBeginGetWeature);
     }
     if ((this.onEndGetWeatureDelegate == null))
     {
         this.onEndGetWeatureDelegate = new EndOperationDelegate(this.OnEndGetWeature);
     }
     if ((this.onGetWeatureCompletedDelegate == null))
     {
         this.onGetWeatureCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetWeatureCompleted);
     }
     base.InvokeAsync(this.onBeginGetWeatureDelegate, new object[] {
         req
     }, this.onEndGetWeatureDelegate, this.onGetWeatureCompletedDelegate, userState);
 }
Esempio n. 4
0
 public void GetWeatureAsync(WindowsFormsClient.SampleSvc.GetWeatherRequest req)
 {
     this.GetWeatureAsync(req, null);
 }
Esempio n. 5
0
 private System.IAsyncResult OnBeginGetWeature(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     WindowsFormsClient.SampleSvc.GetWeatherRequest req = ((WindowsFormsClient.SampleSvc.GetWeatherRequest)(inValues[0]));
     return(this.BeginGetWeature(req, callback, asyncState));
 }
Esempio n. 6
0
 public GetWeatureRequestBody(WindowsFormsClient.SampleSvc.GetWeatherRequest req)
 {
     this.req = req;
 }