/// <summary>
 /// Executes a hotkey command.
 /// </summary>
 /// <param name="hotkeyCommand">The command to execute.</param>
 /// <param name="parameter">The parameter to pass in to the command.</param>
 public static void Execute(this IHotkeyCommand hotkeyCommand, object parameter)
 {
     if (hotkeyCommand is IShellCommand command)
     {
         command.Execute(parameter);
     }
 }
 /// <summary>
 /// Executes the given hotkey command with a null argument.
 /// </summary>
 /// <param name="hotkeyCommand">The command to execute.</param>
 public static void Execute(this IHotkeyCommand hotkeyCommand) => hotkeyCommand.Execute(null);