public void Visit(Map map)
 {
     if (MapVisitor != null)
     {
         map.Accept(MapVisitor);
     }
 }
 public void Visit(Map map)
 {
     if (MapVisitor != null)
         map.Accept(MapVisitor);
 }