public static void RegisterHotkey(Hotkey hotkey) { hotkeys.Add(hotkey); }
public static void UnregisterHotkey(Hotkey hotkey) { hotkeys.RemoveAll(key => key.Equals(hotkey)); }
public static void RegisterHotkey(Action action, Hotkey key) { key.Action = action; RegisterHotkey(key); }