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)); }
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); }
System.Threading.Tasks.Task <SOAPWebServices2.Calculator2.CalculationResponse> SOAPWebServices2.Calculator2.CalculateSoap.CalculationAsync(SOAPWebServices2.Calculator2.CalculationRequest request) { return(base.Channel.CalculationAsync(request)); }
SOAPWebServices2.Calculator2.CalculationResponse SOAPWebServices2.Calculator2.CalculateSoap.Calculation(SOAPWebServices2.Calculator2.CalculationRequest request) { return(base.Channel.Calculation(request)); }