示例#1
0
 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));
 }
示例#2
0
 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);
 }
示例#3
0
 System.Threading.Tasks.Task <GettingStartedClient.ServiceReference1.GetAirfareResponse> GettingStartedClient.ServiceReference1.ICalculatorDuplex.GetAirfareAsync(GettingStartedClient.ServiceReference1.GetAirfareRequest request)
 {
     return(base.Channel.GetAirfareAsync(request));
 }
示例#4
0
 GettingStartedClient.ServiceReference1.GetAirfareResponse GettingStartedClient.ServiceReference1.ICalculatorDuplex.GetAirfare(GettingStartedClient.ServiceReference1.GetAirfareRequest request)
 {
     return(base.Channel.GetAirfare(request));
 }