Пример #1
0
 public System.Threading.Tasks.Task <SOAPWebServices2.Calculator2.CalculationResponse> CalculationAsync(double x, double y, string operation)
 {
     SOAPWebServices2.Calculator2.CalculationRequest inValue = new SOAPWebServices2.Calculator2.CalculationRequest();
     inValue.Body           = new SOAPWebServices2.Calculator2.CalculationRequestBody();
     inValue.Body.x         = x;
     inValue.Body.y         = y;
     inValue.Body.operation = operation;
     return(((SOAPWebServices2.Calculator2.CalculateSoap)(this)).CalculationAsync(inValue));
 }
Пример #2
0
 public double Calculation(double x, double y, string operation)
 {
     SOAPWebServices2.Calculator2.CalculationRequest inValue = new SOAPWebServices2.Calculator2.CalculationRequest();
     inValue.Body           = new SOAPWebServices2.Calculator2.CalculationRequestBody();
     inValue.Body.x         = x;
     inValue.Body.y         = y;
     inValue.Body.operation = operation;
     SOAPWebServices2.Calculator2.CalculationResponse retVal = ((SOAPWebServices2.Calculator2.CalculateSoap)(this)).Calculation(inValue);
     return(retVal.Body.CalculationResult);
 }
Пример #3
0
 System.Threading.Tasks.Task <SOAPWebServices2.Calculator2.CalculationResponse> SOAPWebServices2.Calculator2.CalculateSoap.CalculationAsync(SOAPWebServices2.Calculator2.CalculationRequest request)
 {
     return(base.Channel.CalculationAsync(request));
 }
Пример #4
0
 SOAPWebServices2.Calculator2.CalculationResponse SOAPWebServices2.Calculator2.CalculateSoap.Calculation(SOAPWebServices2.Calculator2.CalculationRequest request)
 {
     return(base.Channel.Calculation(request));
 }