public void Remove(Route route)
 {
     StaticSegments.Remove(route);
     Leaves.Remove(route);
 }
 public IEnumerable <Route> GetAllRoutes()
 {
     return(StaticSegments.GetAllRoutes().Union(Leaves));
 }
 public StaticNode(string path)
 {
     Path           = path;
     StaticSegments = new StaticSegments();
     Leaves         = new Leaves();
 }