C# Class Binarysharp.MemoryManagement.Windows.Keyboard.BaseKeyboard

Abstract class defining a virtual keyboard.
Show file Open project: Finzenku/FragmentJamella

Protected Properties

Property Type Description
PressedKeys Keys>>.List
Window RemoteWindow

Public Methods

Method Description
Press ( Keys key ) : void

Presses the specified virtual key to the window.

Press ( Keys key, TimeSpan interval ) : void

Presses the specified virtual key to the window at a specified interval.

PressRelease ( Keys key ) : void

Presses and releaes the specified virtual key to the window.

Release ( Keys key ) : void

Releases the specified virtual key to the window.

Write ( char character ) : void

Writes the specified character to the window.

Write ( string text ) : void

Writes the text representation of the specified array of objects to the window using the specified format information.

Protected Methods

Method Description
BaseKeyboard ( RemoteWindow window ) : System

Initializes a new instance of a child of the BaseKeyboard class.

Method Details

BaseKeyboard() protected method

Initializes a new instance of a child of the BaseKeyboard class.
protected BaseKeyboard ( RemoteWindow window ) : System
window RemoteWindow The reference of the object.
return System

Press() public abstract method

Presses the specified virtual key to the window.
public abstract Press ( Keys key ) : void
key Keys The virtual key to press.
return void

Press() public method

Presses the specified virtual key to the window at a specified interval.
public Press ( Keys key, TimeSpan interval ) : void
key Keys The virtual key to press.
interval TimeSpan The interval between the key activations.
return void

PressRelease() public method

Presses and releaes the specified virtual key to the window.
public PressRelease ( Keys key ) : void
key Keys The virtual key to press and release.
return void

Release() public method

Releases the specified virtual key to the window.
public Release ( Keys key ) : void
key Keys The virtual key to release.
return void

Write() public abstract method

Writes the specified character to the window.
public abstract Write ( char character ) : void
character char The character to write.
return void

Write() public method

Writes the text representation of the specified array of objects to the window using the specified format information.
public Write ( string text ) : void
text string A composite format string.
return void

Property Details

PressedKeys protected static property

The collection storing the current pressed keys.
protected static List> PressedKeys
return Keys>>.List

Window protected property

The reference of the RemoteWindow object.
protected RemoteWindow Window
return RemoteWindow