C# Class Mono.CSharpShell

Afficher le fichier Open project: kumpera/mono Class Usage Examples

Méthodes publiques

Méthode Description
CSharpShell ( ) : System
ReadEvalPrintLoop ( ) : int
Run ( string startup_files ) : int

Méthodes protégées

Méthode Description
ConsoleInterrupt ( object sender, ConsoleCancelEventArgs a ) : void
Evaluate ( string input ) : string
LoadStartupFiles ( ) : void

Private Methods

Méthode 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 méthode

public CSharpShell ( ) : System
Résultat System

ConsoleInterrupt() protected méthode

protected ConsoleInterrupt ( object sender, ConsoleCancelEventArgs a ) : void
sender object
a System.ConsoleCancelEventArgs
Résultat void

Evaluate() protected méthode

protected Evaluate ( string input ) : string
input string
Résultat string

LoadStartupFiles() protected méthode

protected LoadStartupFiles ( ) : void
Résultat void

ReadEvalPrintLoop() public méthode

public ReadEvalPrintLoop ( ) : int
Résultat int

Run() public méthode

public Run ( string startup_files ) : int
startup_files string
Résultat int