Exemplo n.º 1
0
 public static void Register(this object self, string eventName)
 {
     EventMgr.Register(self, eventName);
 }
Exemplo n.º 2
0
 public static void Register(this object self, EventKey eventType, OnEvent callback)
 {
     EventMgr.Register(eventType, self, callback);
 }