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); }
public void Subscribe <TEvent, TValue>(EventAggHub <TEvent, TValue> .ISubscribed subscribed) where TEvent : EventAggHub <TEvent, TValue> { _eventAggregator.GetEvent <TEvent>().Listen(subscribed); }