Exemplo n.º 1
0
 public void DoSomething()
 {
     _handler1.Notify(new HandlerArgs("Handler1 Notify DoSomething with MyServiceNormal"));
     _handler2.Notify(new HandlerArgs("Handler1 Notify DoSomething with MyServiceNormal"));
     _handler3.Notify(new HandlerArgs("Handler1 Notify DoSomething with MyServiceNormal"));
 }
Exemplo n.º 2
0
 public void Notify(HandlerArgs handlerArgs)
 {
     _handler1.Notify(handlerArgs);
     _handler2.Notify(handlerArgs);
     _handler3.Notify(handlerArgs);
 }