Exemplo n.º 1
0
 public BeforeOrder(IOrder previous, Action before)
 {
     Action = x =>
     {
         before();
         previous.Action(x);
     };
 }
Exemplo n.º 2
0
 public AfterOrder(IOrder previous, Action after)
 {
     Action = x =>
     {
         previous.Action(x);
         after();
     };
 }