public void VisitBus(Bus b) => _collector.AppendLine(b.Name);
Esempio n. 2
0
 public void VisitBus(Bus b)
 {
     _totalPrice += b.DiscountedPrice();
     _amountOfVisitedObjects++;
 }