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