C# Class Mono.CSharpShell

ファイルを表示 Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
CSharpShell ( ) : System
ReadEvalPrintLoop ( ) : int
Run ( string startup_files ) : int

Protected Methods

Method Description
ConsoleInterrupt ( object sender, ConsoleCancelEventArgs a ) : void
Evaluate ( string input ) : string
LoadStartupFiles ( ) : void

Private Methods

Method Description
EscapeChar ( TextWriter output, char c ) : void
EscapeString ( string s ) : string
ExecuteSources ( IEnumerable sources, bool ignore_errors ) : void
GetLine ( bool primary ) : string
InitTerminal ( bool show_banner ) : void
InitializeUsing ( ) : void
PrettyPrint ( TextWriter output, object result ) : void
ReadEvalPrintLoopWith ( ReadLiner readline ) : void
SetupConsole ( ) : void
p ( TextWriter output, string s ) : void

Method Details

CSharpShell() public method

public CSharpShell ( ) : System
return System

ConsoleInterrupt() protected method

protected ConsoleInterrupt ( object sender, ConsoleCancelEventArgs a ) : void
sender object
a System.ConsoleCancelEventArgs
return void

Evaluate() protected method

protected Evaluate ( string input ) : string
input string
return string

LoadStartupFiles() protected method

protected LoadStartupFiles ( ) : void
return void

ReadEvalPrintLoop() public method

public ReadEvalPrintLoop ( ) : int
return int

Run() public method

public Run ( string startup_files ) : int
startup_files string
return int