C# Class WinCompose.Key

显示文件 Open project: samhocevar/wincompose Class Usage Examples

Public Methods

Method Description
Equals ( object o ) : bool
FromKeySym ( string keysym ) : Key

A dictionary of keysyms and the corresponding Key object

GetHashCode ( ) : int

Hash key by returning its printable representation’s hashcode or, if unavailable, its virtual key code’s hashcode.

IsModifier ( ) : bool

Return whether a key is a modifier (shift, ctrl, alt)

IsPrintable ( ) : bool
IsUsable ( ) : bool

Return whether a key is usable in a compose sequence

Key ( VK vk ) : System
Key ( string str ) : System
ToString ( ) : string

Serialize key to a printable string we can parse back into a Key object

operator ( ) : bool

Private Methods

Method Description
GetKeyNames ( ) : string>.Dictionary

Method Details

Equals() public method

public Equals ( object o ) : bool
o object
return bool

FromKeySym() public static method

A dictionary of keysyms and the corresponding Key object
public static FromKeySym ( string keysym ) : Key
keysym string
return Key

GetHashCode() public method

Hash key by returning its printable representation’s hashcode or, if unavailable, its virtual key code’s hashcode.
public GetHashCode ( ) : int
return int

IsModifier() public method

Return whether a key is a modifier (shift, ctrl, alt)
public IsModifier ( ) : bool
return bool

IsPrintable() public method

public IsPrintable ( ) : bool
return bool

IsUsable() public method

Return whether a key is usable in a compose sequence
public IsUsable ( ) : bool
return bool

Key() public method

public Key ( VK vk ) : System
vk VK
return System

Key() public method

public Key ( string str ) : System
str string
return System

ToString() public method

Serialize key to a printable string we can parse back into a Key object
public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool