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")); }
public void Notify(HandlerArgs handlerArgs) { _handler1.Notify(handlerArgs); _handler2.Notify(handlerArgs); _handler3.Notify(handlerArgs); }