Пример #1
0
 public bool Reserve(AirCarrierClass AirCarrierID, FlightClass flight, CustomerClass customer, string TravelSiteID, string TravelSitePassword)
 {
     object[] results = this.Invoke("Reserve", new object[] {
         AirCarrierID,
         flight,
         customer,
         TravelSiteID,
         TravelSitePassword
     });
     return((bool)(results[0]));
 }
Пример #2
0
 public System.Data.DataSet GetFlights(AirCarrierClass AirCarrierID, string DepartureCity, string DepartureState, string ArrivalCity, string ArrivalState)
 {
     object[] results = this.Invoke("GetFlights", new object[] {
         AirCarrierID,
         DepartureCity,
         DepartureState,
         ArrivalCity,
         ArrivalState
     });
     return((System.Data.DataSet)(results[0]));
 }
Пример #3
0
 public System.Data.DataSet FilterFlightsByCarrier(AirCarrierClass AirCarrierID, RequirementClass requirements, string DepartureCity, string DepartureState, string ArrivalCity, string ArrivalState)
 {
     object[] results = this.Invoke("FilterFlightsByCarrier", new object[] {
         AirCarrierID,
         requirements,
         DepartureCity,
         DepartureState,
         ArrivalCity,
         ArrivalState
     });
     return((System.Data.DataSet)(results[0]));
 }
Пример #4
0
 /// <remarks/>
 public void ReserveAsync(AirCarrierClass AirCarrierID, FlightClass flight, CustomerClass customer, string TravelSiteID, string TravelSitePassword, object userState)
 {
     if ((this.ReserveOperationCompleted == null))
     {
         this.ReserveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnReserveOperationCompleted);
     }
     this.InvokeAsync("Reserve", new object[] {
         AirCarrierID,
         flight,
         customer,
         TravelSiteID,
         TravelSitePassword
     }, this.ReserveOperationCompleted, userState);
 }
Пример #5
0
 /// <remarks/>
 public void GetFlightsAsync(AirCarrierClass AirCarrierID, string DepartureCity, string DepartureState, string ArrivalCity, string ArrivalState, object userState)
 {
     if ((this.GetFlightsOperationCompleted == null))
     {
         this.GetFlightsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFlightsOperationCompleted);
     }
     this.InvokeAsync("GetFlights", new object[] {
         AirCarrierID,
         DepartureCity,
         DepartureState,
         ArrivalCity,
         ArrivalState
     }, this.GetFlightsOperationCompleted, userState);
 }
Пример #6
0
 /// <remarks/>
 public void FilterFlightsByCarrierAsync(AirCarrierClass AirCarrierID, RequirementClass requirements, string DepartureCity, string DepartureState, string ArrivalCity, string ArrivalState, object userState)
 {
     if ((this.FilterFlightsByCarrierOperationCompleted == null))
     {
         this.FilterFlightsByCarrierOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFilterFlightsByCarrierOperationCompleted);
     }
     this.InvokeAsync("FilterFlightsByCarrier", new object[] {
         AirCarrierID,
         requirements,
         DepartureCity,
         DepartureState,
         ArrivalCity,
         ArrivalState
     }, this.FilterFlightsByCarrierOperationCompleted, userState);
 }
Пример #7
0
 /// <remarks/>
 public void FilterFlightsByCarrierAsync(AirCarrierClass AirCarrierID, RequirementClass requirements, string DepartureCity, string DepartureState, string ArrivalCity, string ArrivalState)
 {
     this.FilterFlightsByCarrierAsync(AirCarrierID, requirements, DepartureCity, DepartureState, ArrivalCity, ArrivalState, null);
 }
Пример #8
0
 /// <remarks/>
 public void ReserveAsync(AirCarrierClass AirCarrierID, FlightClass flight, CustomerClass customer, string TravelSiteID, string TravelSitePassword)
 {
     this.ReserveAsync(AirCarrierID, flight, customer, TravelSiteID, TravelSitePassword, null);
 }
Пример #9
0
 /// <remarks/>
 public void GetFlightsAsync(AirCarrierClass AirCarrierID, string DepartureCity, string DepartureState, string ArrivalCity, string ArrivalState)
 {
     this.GetFlightsAsync(AirCarrierID, DepartureCity, DepartureState, ArrivalCity, ArrivalState, null);
 }