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