예제 #1
0
    private static void Dispatch(object aDispatcher, string aEvent, object[] aParams = null)
    {
        if (aParams == null)
        {
            _eventObjDict[aDispatcher][aEvent].Dispatch();
        }
        else
        {
            _eventObjDict[aDispatcher][aEvent].Dispatch(aParams);
        }

        _eventObjDict.Clean();
    }