Ejemplo n.º 1
0
 public void Handle(SayHelloCommand command)
 {
     _printer.Print(string.Format("Hello {0}", command.Name));
 }
Ejemplo n.º 2
0
 public static void Handle(SayHelloCommand command, IPrint printer)
 {
     printer.Print(string.Format("Hello {0}", command.Name));
 }