Ejemplo n.º 1
0
 public void RemoveNotificationEvent(NotificateMsgType key, OnDelegateFunc func)
 {
     if (!_mapFun.ContainsKey(key))
     {
         return;
     }
     _mapFun[key] -= func;
 }
Ejemplo n.º 2
0
 public void AddNotificationEvent(NotificateMsgType key, OnDelegateFunc func)
 {
     if (!_mapFun.ContainsKey(key))
     {
         _mapFun[key] = null;
     }
     _mapFun[key] += func;
 }