Пример #1
0
    public void Trigger(GlobalEvent e)
    {
        EventDelegate del;

        if (this.delegates.TryGetValue(e.GetType(), out del))
        {
            del.Invoke(e);
        }
    }