public void RemoveActionRegister <T>(Action <T> action) where T : IEventData { var actionHandler = new ActionEventHandler <T>(action); var handlerToRemove = FindRegisterToRemove(typeof(T), actionHandler.GetType()); RemoveRegister(typeof(T), handlerToRemove); }
public void AddActionRegister <T>(Action <T> action) where T : IEventData { var actionHandler = new ActionEventHandler <T>(action); AddRegister(typeof(T), actionHandler.GetType()); }