public static void UnregisterHandler(IInputContextHandler handler) { if (contextHandlers.Contains(handler)) contextHandlers.Remove(handler); }
public static void RegisterHandler(IInputContextHandler handler) { if (!contextHandlers.Contains(handler)) contextHandlers.Add(handler); }