C# Class Deveel.Readline

Exibir arquivo Open project: deveel/deveelrl Class Usage Examples

Public Methods

Method Description
ReadLine ( string prompt ) : string
ReadLine ( string prompt, bool password ) : string
ReadPassword ( string prompt ) : string

Private Methods

Method Description
AddChar ( char ch ) : void

Add a character to the input buffer.

Backspace ( ) : void
CancelLine ( String prompt ) : void
Clear ( ) : void
CollectLastWord ( char ch ) : void
Delete ( ) : void
Delete ( int num ) : void
EndLine ( ) : void
EraseToEnd ( ) : void
EraseToEndWord ( ) : void
EraseToStart ( ) : void
EraseToStartWord ( ) : void
EraseWord ( ) : void
GoBack ( int num ) : void
IsWordCharacter ( char ch ) : bool
MakeRoom ( ) : void

Makes room for one more character in the input buffer.

MoveBackwardWord ( ) : void
MoveDown ( ) : void
MoveEnd ( ) : void
MoveForwardWord ( ) : void
MoveHome ( ) : void
MoveLeft ( ) : void
MoveRight ( ) : void
MoveUp ( ) : void
PrintAlternatives ( String list ) : void
Readline ( ) : System
Redraw ( ) : void
Repaint ( bool step, bool moveToEnd ) : void

Repaint the line starting at the current character.

ResetComplete ( State newState ) : void
SetCurrent ( String line ) : void
Tab ( String prompt ) : void

Method Details

ReadLine() public static method

public static ReadLine ( string prompt ) : string
prompt string
return string

ReadLine() public static method

public static ReadLine ( string prompt, bool password ) : string
prompt string
password bool
return string

ReadPassword() public static method

public static ReadPassword ( string prompt ) : string
prompt string
return string