Beispiel #1
0
 void ExtractItineraryItems(BingRouteResult result)
 {
     ItineraryItems.Clear();
     foreach (BingRouteLeg leg in result.Legs)
     {
         foreach (BingItineraryItem item in leg.Itinerary)
         {
             ItineraryItems.Add(item);
         }
     }
 }
 private void BuildItineraryList()
 {
     ItineraryItems.Clear();
     _itineraryItems.Sort((x, y) => x.Date.CompareTo(y.Date));
     _itineraryItems.ForEach(ii => ItineraryItems.Add(ii));
 }