private List <IRoute> GetRoutes()
        {
            if (_gpx10.rte == null)
            {
                return(new List <IRoute>(0));
            }
            int           numberOfRoutes = _gpx10.rte.Count();
            List <IRoute> routes         = new List <IRoute>(numberOfRoutes);

            for (int i = 0; i < numberOfRoutes; i++)
            {
                var gpxRoute = new GPX10Route(_gpx10.rte[i]);
                routes.Add(gpxRoute);
            }
            return(routes);
        }
 private List<IRoute> GetRoutes()
 {
     if (_gpx10.rte == null)
     {
         return new List<IRoute>(0);
     }
     int numberOfRoutes = _gpx10.rte.Count();
     List<IRoute> routes = new List<IRoute>(numberOfRoutes);
     for (int i = 0; i < numberOfRoutes; i++)
     {
         var gpxRoute = new GPX10Route(_gpx10.rte[i]);
         routes.Add(gpxRoute);
     }
     return routes;
 }