Ejemplo n.º 1
0
 public static void PublishEvent(WTEvent.Type t, WTEvent e)
 {
     WTLogger.LogEvent(t, e);
     if (handlerDict.ContainsKey(t))
     {
         foreach (EventHandler handle in handlerDict[t])
         {
             handle(e);
         }
     }
 }