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); }
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) ); }