public void VisitEquipment(Equipment e) => _collector.AppendLine(e.Name);
 public void AddDevice(Equipment e) => _devices.Add(e);
예제 #3
0
 public void VisitEquipment(Equipment e)
 {
     _totalPrice += e.NetPrice();
     _amountOfVisitedObjects++;
 }