private void SetConnections( BuildRoute convertedRoutes )
        {
            var mark = new Route<RouteElement>( convertedRoutes.Elements );

//            if ( !mark.MoveNext() ) { return; }
            while ( mark.MoveNext() )
            {
                mark.Current.RoadElement.Routes.AddRoadThatBelongToIt(convertedRoutes, mark.Clone() );
            }
        }
 public BelongToRouteItem( BuildRoute route, IRouteMark<RouteElement> position )
 {
     this.Route = route;
     this.Position = position;
 }
 public void AddRoadThatBelongToIt( BuildRoute convertedRoutes, IRouteMark<RouteElement> routeMark )
 {
     this._routesThatBelong.Add( new BelongToRouteItem( convertedRoutes, routeMark ) );
 }
 public void Add( BuildRoute route )
 {
     this._routes.Add( route );
 }