C# Class System.TermInfoDriver

Inheritance: IConsoleDriver
Afficher le fichier Open project: vargaz/mono Class Usage Examples

Private Properties

Свойство Type Description
AddStringMapping void
AddToBuffer void
AdjustBuffer void
ChangeColor void
CheckWindowDimensions void
CreateKeyInfoFromInt ConsoleKeyInfo
CreateKeyMap void
Echo void
EchoFlush void
GetCursorPosition void
GetKeyFromBuffer object
IncrementX void
InitKeys void
InputPending bool
QueueEcho void
ReadKeyInternal ConsoleKeyInfo
SearchTerminfo string
TryTermInfoDir string
WriteConsole void

Méthodes publiques

Méthode Description
Beep ( int frequency, int duration ) : void
Clear ( ) : void
Init ( ) : void
IsSpecialKey ( ConsoleKeyInfo key ) : bool
IsSpecialKey ( char c ) : bool
MoveBufferArea ( int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop, Char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor ) : void
Read ( [ dest, int index, int count ) : int
ReadKey ( bool intercept ) : ConsoleKeyInfo
ReadLine ( ) : string
ResetColor ( ) : void
SetBufferSize ( int width, int height ) : void
SetCursorPosition ( int left, int top ) : void
SetWindowPosition ( int left, int top ) : void
SetWindowSize ( int width, int height ) : void
TermInfoDriver ( ) : System.Collections
TermInfoDriver ( string term ) : System.Collections
WriteSpecialKey ( ConsoleKeyInfo key ) : void
WriteSpecialKey ( char c ) : void

Private Methods

Méthode Description
AddStringMapping ( TermInfoStrings s ) : void
AddToBuffer ( int b ) : void
AdjustBuffer ( ) : void
ChangeColor ( string format, ConsoleColor color ) : void
CheckWindowDimensions ( ) : void
CreateKeyInfoFromInt ( int n, bool alt ) : ConsoleKeyInfo
CreateKeyMap ( ) : void
Echo ( ConsoleKeyInfo key ) : void
EchoFlush ( ) : void
GetCursorPosition ( ) : void
GetKeyFromBuffer ( bool cooked ) : object
IncrementX ( ) : void
InitKeys ( ) : void
InputPending ( ) : bool
QueueEcho ( char c ) : void
ReadKeyInternal ( bool &fresh ) : ConsoleKeyInfo
SearchTerminfo ( string term ) : string
TryTermInfoDir ( string dir, string term ) : string
WriteConsole ( string str ) : void

Method Details

Beep() public méthode

public Beep ( int frequency, int duration ) : void
frequency int
duration int
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Init() public méthode

public Init ( ) : void
Résultat void

IsSpecialKey() public méthode

public IsSpecialKey ( ConsoleKeyInfo key ) : bool
key ConsoleKeyInfo
Résultat bool

IsSpecialKey() public méthode

public IsSpecialKey ( char c ) : bool
c char
Résultat bool

MoveBufferArea() public méthode

public MoveBufferArea ( int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop, Char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor ) : void
sourceLeft int
sourceTop int
sourceWidth int
sourceHeight int
targetLeft int
targetTop int
sourceChar Char
sourceForeColor ConsoleColor
sourceBackColor ConsoleColor
Résultat void

Read() public méthode

public Read ( [ dest, int index, int count ) : int
dest [
index int
count int
Résultat int

ReadKey() public méthode

public ReadKey ( bool intercept ) : ConsoleKeyInfo
intercept bool
Résultat ConsoleKeyInfo

ReadLine() public méthode

public ReadLine ( ) : string
Résultat string

ResetColor() public méthode

public ResetColor ( ) : void
Résultat void

SetBufferSize() public méthode

public SetBufferSize ( int width, int height ) : void
width int
height int
Résultat void

SetCursorPosition() public méthode

public SetCursorPosition ( int left, int top ) : void
left int
top int
Résultat void

SetWindowPosition() public méthode

public SetWindowPosition ( int left, int top ) : void
left int
top int
Résultat void

SetWindowSize() public méthode

public SetWindowSize ( int width, int height ) : void
width int
height int
Résultat void

TermInfoDriver() public méthode

public TermInfoDriver ( ) : System.Collections
Résultat System.Collections

TermInfoDriver() public méthode

public TermInfoDriver ( string term ) : System.Collections
term string
Résultat System.Collections

WriteSpecialKey() public méthode

public WriteSpecialKey ( ConsoleKeyInfo key ) : void
key ConsoleKeyInfo
Résultat void

WriteSpecialKey() public méthode

public WriteSpecialKey ( char c ) : void
c char
Résultat void