public void Accept(AbstractTaxi_Visitor visitor) { foreach (CustomerElement cust in customers) { cust.Accept(visitor); } }
public override void Accept(AbstractTaxi_Visitor visitor) { visitor.VisitCustomer(this); }
public abstract void Accept(AbstractTaxi_Visitor visitor);