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