public void SetEventBroker(EventBroker broker) { _broker = broker; //_broker.Register("MyEvent", new MethodInvoker(OnMyEvent)); _broker.Register("MyEvent", new EventBroker.SubscriptionsCallback(OnMyEvent)); }
public void SetEventBroker(EventBroker broker) { _broker = broker; }