C# Class PoshCode.Interop.KeyboardHelper

Extension methods for working with Keyboards and KeyEvents
Afficher le fichier Open project: Jaykul/PoshConsole

Méthodes publiques

Méthode Description
ToKeyInfo ( this e ) : System.Management.Automation.Host.KeyInfo

Create a KeyInfo from a KeyEventArgs

Private Methods

Méthode Description
GetChar ( int vk ) : char

Get the char from a VirtualKey -- MUST be called within the keyboard event handler.

GetControlKeyStates ( this kb ) : ControlKeyStates

Gets the control key states.

Method Details

ToKeyInfo() public static méthode

Create a KeyInfo from a KeyEventArgs
public static ToKeyInfo ( this e ) : System.Management.Automation.Host.KeyInfo
e this The KeyEventArgs
Résultat System.Management.Automation.Host.KeyInfo