Esempio n. 1
0
 public void On(Type type, AriesHandler handler)
 {
     if (!Handlers.ContainsKey(type))
     {
         Handlers[type] = new List <AriesHandler>();
     }
     Handlers[type].Add(handler);
 }
Esempio n. 2
0
 public void On <T>(AriesHandler handler)
 {
     this.On(typeof(T), handler);
 }