示例#1
0
        public void InvokeHandler <T>(T args, EventType type)
        {
            if (!handlerList.ContainsKey(type))
            {
                return;
            }

            EventHandlerList handlers = handlerList[type];

            handlers.Invoke(args);
        }