Ejemplo n.º 1
0
 public void Accept(IFeedVisitor visitor)
 {
     Agencies.Accept(visitor);
     Stops.Accept(visitor);
     Routes.Accept(visitor);
     Trips.Accept(visitor);
     StopTimes.Accept(visitor);
     Calendars.Accept(visitor);
     CalendarDates.Accept(visitor);
     FareAttributes.Accept(visitor);
     FareRules.Accept(visitor);
     Shapes.Accept(visitor);
     Frequencies.Accept(visitor);
     Transfers.Accept(visitor);
     FeedInfos.Accept(visitor);
 }
Ejemplo n.º 2
0
 public void Accept(IFeedVisitor visitor)
 {
     Parallel.Invoke(
         () => Agencies.Accept(visitor),
         () => Stops.Accept(visitor),
         () => Routes.Accept(visitor),
         () => Trips.Accept(visitor),
         () => StopTimes.Accept(visitor),
         () => Calendars.Accept(visitor),
         () => CalendarDates.Accept(visitor),
         () => FareAttributes.Accept(visitor),
         () => FareRules.Accept(visitor),
         () => Shapes.Accept(visitor),
         () => Frequencies.Accept(visitor),
         () => Transfers.Accept(visitor),
         () => FeedInfos.Accept(visitor)
         );
 }