Exemplo n.º 1
0
 public System.Threading.Tasks.Task <SOAPClient.CalculatorWebService.CalculationResponse> CalculationAsync(double x, double y, string operation)
 {
     SOAPClient.CalculatorWebService.CalculationRequest inValue = new SOAPClient.CalculatorWebService.CalculationRequest();
     inValue.Body           = new SOAPClient.CalculatorWebService.CalculationRequestBody();
     inValue.Body.x         = x;
     inValue.Body.y         = y;
     inValue.Body.operation = operation;
     return(((SOAPClient.CalculatorWebService.CalculateSoap)(this)).CalculationAsync(inValue));
 }
Exemplo n.º 2
0
 public double Calculation(double x, double y, string operation)
 {
     SOAPClient.CalculatorWebService.CalculationRequest inValue = new SOAPClient.CalculatorWebService.CalculationRequest();
     inValue.Body           = new SOAPClient.CalculatorWebService.CalculationRequestBody();
     inValue.Body.x         = x;
     inValue.Body.y         = y;
     inValue.Body.operation = operation;
     SOAPClient.CalculatorWebService.CalculationResponse retVal = ((SOAPClient.CalculatorWebService.CalculateSoap)(this)).Calculation(inValue);
     return(retVal.Body.CalculationResult);
 }
Exemplo n.º 3
0
 System.Threading.Tasks.Task <SOAPClient.CalculatorWebService.CalculationResponse> SOAPClient.CalculatorWebService.CalculateSoap.CalculationAsync(SOAPClient.CalculatorWebService.CalculationRequest request)
 {
     return(base.Channel.CalculationAsync(request));
 }
Exemplo n.º 4
0
 SOAPClient.CalculatorWebService.CalculationResponse SOAPClient.CalculatorWebService.CalculateSoap.Calculation(SOAPClient.CalculatorWebService.CalculationRequest request)
 {
     return(base.Channel.Calculation(request));
 }