public void Accept(ICityVisitor cityVisitor) { foreach (ILocation location in _locations) { location.Accept(cityVisitor); } }
public void Accept(ICityVisitor visitor) { visitor.VisitTheatre(this); }
public void Accept(ICityVisitor visitor) { visitor.VisitRestaurant(this); }
public void Accept(ICityVisitor visitor) { visitor.VisitMonument(this); }