Пример #1
0
 public void SetEventBroker(EventBroker broker)
 {
     _broker = broker;
     //_broker.Register("MyEvent", new MethodInvoker(OnMyEvent));
     _broker.Register("MyEvent", new EventBroker.SubscriptionsCallback(OnMyEvent));
 }
Пример #2
0
 public void SetEventBroker(EventBroker broker)
 {
     _broker = broker;
 }