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