public System.Threading.Tasks.Task <GettingStartedClient.ServiceReference1.GetAirfareResponse> GetAirfareAsync(System.DateTime date, string Data) { GettingStartedClient.ServiceReference1.GetAirfareRequest inValue = new GettingStartedClient.ServiceReference1.GetAirfareRequest(); inValue.date = date; inValue.Data = Data; return(((GettingStartedClient.ServiceReference1.ICalculatorDuplex)(this)).GetAirfareAsync(inValue)); }
public string GetAirfare(System.DateTime date, string Data) { GettingStartedClient.ServiceReference1.GetAirfareRequest inValue = new GettingStartedClient.ServiceReference1.GetAirfareRequest(); inValue.date = date; inValue.Data = Data; GettingStartedClient.ServiceReference1.GetAirfareResponse retVal = ((GettingStartedClient.ServiceReference1.ICalculatorDuplex)(this)).GetAirfare(inValue); return(retVal.Content); }
System.Threading.Tasks.Task <GettingStartedClient.ServiceReference1.GetAirfareResponse> GettingStartedClient.ServiceReference1.ICalculatorDuplex.GetAirfareAsync(GettingStartedClient.ServiceReference1.GetAirfareRequest request) { return(base.Channel.GetAirfareAsync(request)); }
GettingStartedClient.ServiceReference1.GetAirfareResponse GettingStartedClient.ServiceReference1.ICalculatorDuplex.GetAirfare(GettingStartedClient.ServiceReference1.GetAirfareRequest request) { return(base.Channel.GetAirfare(request)); }