Exemplo n.º 1
0
 private static void Print(Printer printer)
 {
     PrinterManager.Print(printer);
     PrinterManager.Log($"Printed on :{printer.Name},{printer.Model}");
 }
Exemplo n.º 2
0
 private static void Print(EpsonPrinter epsonPrinter)
 {
     PrinterManager.Print(epsonPrinter);
     PrinterManager.Log("Printed on Epson");
 }
Exemplo n.º 3
0
 private static void Print(CanonPrinter canonPrinter)
 {
     PrinterManager.Print(canonPrinter);
     PrinterManager.Log("Printed on Canon");
 }
Exemplo n.º 4
0
 private static void Print(Printer printer)
 {
     PrinterManager.Print(printer);
     PrinterManager.Log($"Печатается на {printer.Name}");
 }