Exemple #1
0
 public static async Task ConfigPrefferedHotkeyAsync(string name, Hotkey hotkey)
 {
     await ApplicationData.Current.LocalSettings.SaveAsync(name, hotkey);
 }
Exemple #2
0
 public HotkeyEventArg(Hotkey hotkey)
 {
     Hotkey = hotkey ?? throw new ArgumentNullException(nameof(hotkey));
 }