public void VisitFloppyDisk(FloppyDisk fd) => _collector.AppendLine(fd.Name);
Пример #2
0
 public void VisitFloppyDisk(FloppyDisk fd)
 {
     _totalPrice += fd.DiscountedPrice();
     _amountOfVisitedObjects++;
 }