/// <summary> /// Removes the event handler. /// </summary> /// <param name="function">The function.</param> public static void RemoveEventHandler(HandleEventFunc function) { _eventHandlers.Remove(function); }
/// <summary> /// Adds the event handler. /// </summary> /// <param name="handlerType">Type of the handler.</param> /// <param name="function">The function.</param> public static void AddEventHandler(EventHandlerTypes handlerType, HandleEventFunc function) { _eventHandlers.Add(function, handlerType); }