示例#1
0
 public void UnSubscribe <TEvent, TValue1, TValue2, TValue3>(
     EventAggHub <TEvent, TValue1, TValue2, TValue3> .ISubscribed subscribed)
     where TEvent : EventAggHub <TEvent, TValue1, TValue2, TValue3>
 {
     _eventAggregator.GetEvent <TEvent>().UnListen(subscribed);
 }
示例#2
0
 public void Subscribe <TEvent, TValue>(EventAggHub <TEvent, TValue> .ISubscribed subscribed)
     where TEvent : EventAggHub <TEvent, TValue>
 {
     _eventAggregator.GetEvent <TEvent>().Listen(subscribed);
 }