C# Class Microsoft.Scripting.Hosting.Shell.BasicConsole

Inheritance: IConsole, IDisposable
Afficher le fichier Open project: jschementi/iron

Méthodes publiques

Méthode Description
BasicConsole ( bool colorful ) : System
Dispose ( ) : void
ReadLine ( int autoIndentSize ) : string
Write ( string text, Style style ) : void
WriteLine ( ) : void
WriteLine ( string text, Style style ) : void

Méthodes protégées

Méthode Description
WriteColor ( TextWriter output, string str, ConsoleColor c ) : void

Private Methods

Méthode Description
PickColor ( ConsoleColor best, ConsoleColor other ) : ConsoleColor
SetupColors ( bool colorful ) : void

Method Details

BasicConsole() public méthode

public BasicConsole ( bool colorful ) : System
colorful bool
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ReadLine() public méthode

public ReadLine ( int autoIndentSize ) : string
autoIndentSize int
Résultat string

Write() public méthode

public Write ( string text, Style style ) : void
text string
style Style
Résultat void

WriteColor() protected méthode

protected WriteColor ( TextWriter output, string str, ConsoleColor c ) : void
output System.IO.TextWriter
str string
c ConsoleColor
Résultat void

WriteLine() public méthode

public WriteLine ( ) : void
Résultat void

WriteLine() public méthode

public WriteLine ( string text, Style style ) : void
text string
style Style
Résultat void