Пример #1
0
 public System.Threading.Tasks.Task <Prueba.ServiceReference1.SumaResponse> SumaAsync(int numero1, int numero2)
 {
     Prueba.ServiceReference1.SumaRequest inValue = new Prueba.ServiceReference1.SumaRequest();
     inValue.numero1 = numero1;
     inValue.numero2 = numero2;
     return(((Prueba.ServiceReference1.ServicioWeb)(this)).SumaAsync(inValue));
 }
Пример #2
0
 public int Suma(int numero1, int numero2)
 {
     Prueba.ServiceReference1.SumaRequest inValue = new Prueba.ServiceReference1.SumaRequest();
     inValue.numero1 = numero1;
     inValue.numero2 = numero2;
     Prueba.ServiceReference1.SumaResponse retVal = ((Prueba.ServiceReference1.ServicioWeb)(this)).Suma(inValue);
     return(retVal.@return);
 }
Пример #3
0
 Prueba.ServiceReference1.SumaResponse Prueba.ServiceReference1.ServicioWeb.Suma(Prueba.ServiceReference1.SumaRequest request)
 {
     return(base.Channel.Suma(request));
 }
Пример #4
0
 System.Threading.Tasks.Task <Prueba.ServiceReference1.SumaResponse> Prueba.ServiceReference1.ServicioWeb.SumaAsync(Prueba.ServiceReference1.SumaRequest request)
 {
     return(base.Channel.SumaAsync(request));
 }