C# Class CSharpShell, radare2-bindings

ファイルを表示 Open project: radare/radare2-bindings Class Usage Examples

Protected Properties

Property Type Description
startup_files string[]

Public Methods

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

Protected Methods

Method Description
ConsoleInterrupt ( object sender, ConsoleCancelEventArgs a ) : void
Evaluate ( string input ) : string
ExecuteSources ( IEnumerable sources, bool ignore_errors ) : void
InitTerminal ( bool show_banner ) : void
InitializeUsing ( ) : void
LoadStartupFiles ( ) : void
ReadEvalPrintLoopWith ( ReadLiner readline ) : void
SetupConsole ( ) : void

Private Methods

Method Description
EscapeChar ( TextWriter output, char c ) : void
EscapeString ( TextWriter output, string s ) : void
GetLine ( bool primary ) : string
PrettyPrint ( TextWriter output, object result ) : void
WorksAsEnumerable ( object obj ) : bool
p ( TextWriter output, string s ) : void

Method Details

CSharpShell() public method

public CSharpShell ( Evaluator evaluator ) : System
evaluator Evaluator
return System

ConsoleInterrupt() protected method

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

Evaluate() protected method

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

ExecuteSources() protected method

protected ExecuteSources ( IEnumerable sources, bool ignore_errors ) : void
sources IEnumerable
ignore_errors bool
return void

InitTerminal() protected method

protected InitTerminal ( bool show_banner ) : void
show_banner bool
return void

InitializeUsing() protected method

protected InitializeUsing ( ) : void
return void

LoadStartupFiles() protected method

protected LoadStartupFiles ( ) : void
return void

ReadEvalPrintLoop() public method

public ReadEvalPrintLoop ( ) : int
return int

ReadEvalPrintLoopWith() protected method

protected ReadEvalPrintLoopWith ( ReadLiner readline ) : void
readline ReadLiner
return void

Run() public method

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

SetupConsole() protected method

protected SetupConsole ( ) : void
return void

Property Details

startup_files protected_oe property

protected string[] startup_files
return string[]