예제 #1
0
 public IObservable <IEnumerable <Status> > GetStautses()
 {
     return(WebRequestFactory.GetData(_serviceUri, ParseStatusXml));
 }
예제 #2
0
 public IObservable <IEnumerable <Airline> > GetAirlines()
 {
     return(WebRequestFactory.GetData(_serviceUrl, ParseAirlineXml));
 }
예제 #3
0
 private IObservable <IEnumerable <Flight> > GetFlightsFrom(string url)
 {
     return(WebRequestFactory.GetData(new Uri(url), ParseFlightsXml));
 }