Method MapToKeyCodeModifiers
MapToKeyCodeModifiers(ConsoleModifiers, KeyCode)
Maps a ConsoleKeyInfo to a KeyCode.
public static KeyCode MapToKeyCodeModifiers(ConsoleModifiers modifiers, KeyCode key)
Parameters
modifiersConsoleModifiersThe console modifiers.
keyKeyCodeThe key code.
Returns
- KeyCode
The KeyCode with ConsoleModifiers or the
key