public void Subscribe(Action <T> handler)
 {
     eventChannel.Subscribe(handler);
 }
Esempio n. 2
0
 public Subscriber(string type, IEventChannel eventChannel)
 {
     this.type         = type;
     this.eventChannel = eventChannel;
     eventChannel.Subscribe(this, type);
 }