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

Inheritance: IConsole, IDisposable
Exibir arquivo Open project: jschementi/iron

Public Methods

Method 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

Protected Methods

Method Description
WriteColor ( TextWriter output, string str, ConsoleColor c ) : void

Private Methods

Method Description
PickColor ( ConsoleColor best, ConsoleColor other ) : ConsoleColor
SetupColors ( bool colorful ) : void

Method Details

BasicConsole() public method

public BasicConsole ( bool colorful ) : System
colorful bool
return System

Dispose() public method

public Dispose ( ) : void
return void

ReadLine() public method

public ReadLine ( int autoIndentSize ) : string
autoIndentSize int
return string

Write() public method

public Write ( string text, Style style ) : void
text string
style Style
return void

WriteColor() protected method

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

WriteLine() public method

public WriteLine ( ) : void
return void

WriteLine() public method

public WriteLine ( string text, Style style ) : void
text string
style Style
return void