public void Trigger(GlobalEvent e) { EventDelegate del; if (this.delegates.TryGetValue(e.GetType(), out del)) { del.Invoke(e); } }