C# Class ShellMe.Testing.LowLevelTestConsole

Inheritance: ILowLevelConsole
显示文件 Open project: dff-solutions/shell.me Class Usage Examples

Public Methods

Method Description
LowLevelTestConsole ( ) : System
LowLevelTestConsole ( IEnumerable keySequence ) : System
Read ( ) : ConsoleKeyInfo
ReadCharacterAt ( int x, int y ) : char?
WriteAtCursorAndMove ( char key ) : void

Private Methods

Method Description
AddLineToBuffer ( ) : void
AddLinesToBuffer ( int lines ) : void

Method Details

LowLevelTestConsole() public method

public LowLevelTestConsole ( ) : System
return System

LowLevelTestConsole() public method

public LowLevelTestConsole ( IEnumerable keySequence ) : System
keySequence IEnumerable
return System

Read() public method

public Read ( ) : ConsoleKeyInfo
return System.ConsoleKeyInfo

ReadCharacterAt() public method

public ReadCharacterAt ( int x, int y ) : char?
x int
y int
return char?

WriteAtCursorAndMove() public method

public WriteAtCursorAndMove ( char key ) : void
key char
return void