public static ShortcutKey.ShortcutKey ToShortcutKey(this ModkeySetting modkey) { ShortcutKey.ShortcutKey value; if (!shortcutkeysCache.TryGetValue(modkey, out value)) { value = new ShortcutKey.ShortcutKey(Key.C, modkey.ToKeys()); shortcutkeysCache.Add(modkey, value); } return(value); }
public ShortcutKeyPressedEventArgs(ShortcutKey shortcutKey) { this.ShortcutKey = shortcutKey; }