C# Class ShellMe.CommandLine.Console.LowLevel.LowLevelToAbstractConsoleAdapter

Inheritance: AbstractConsole
Show file Open project: dff-solutions/shell.me Class Usage Examples

Public Methods

Method Description
EraseCurrentLine ( ) : void
LowLevelToAbstractConsoleAdapter ( ILowLevelConsole console ) : System
ReadKey ( ) : ConsoleKeyInfo
ReadLine ( ) : string
Write ( IEnumerable keys ) : void
Write ( string text ) : void
WriteLine ( string text ) : void

Private Methods

Method Description
OnBackspaceHit ( ) : void
OnDeleteHit ( ) : void
Read ( ) : ReadInfo
ReadFromCoordinatesToEndOfLine ( int leftStart, int topStart, bool shortCircutEndOfLine ) : IEnumerable
ReadFromCursorToEndOfInput ( ) : IEnumerable
Write ( IEnumerable keys, bool adjustLineMarker ) : void
WritePromptIfNeeded ( ) : void

Method Details

EraseCurrentLine() public method

public EraseCurrentLine ( ) : void
return void

LowLevelToAbstractConsoleAdapter() public method

public LowLevelToAbstractConsoleAdapter ( ILowLevelConsole console ) : System
console ILowLevelConsole
return System

ReadKey() public method

public ReadKey ( ) : ConsoleKeyInfo
return System.ConsoleKeyInfo

ReadLine() public method

public ReadLine ( ) : string
return string

Write() public method

public Write ( IEnumerable keys ) : void
keys IEnumerable
return void

Write() public method

public Write ( string text ) : void
text string
return void

WriteLine() public method

public WriteLine ( string text ) : void
text string
return void