Метод | Описание | |
---|---|---|
PrintLanguageHelp ( StringBuilder output ) : void | ||
Terminate ( int exitCode ) : void |
Request (from another thread) the console REPL loop to terminate
|
Метод | Описание | |
---|---|---|
ConsoleHost ( ) : System | ||
CreateCommandLine ( ) : CommandLine | ||
CreateConsole ( ScriptEngine engine, CommandLine commandLine, ConsoleOptions options ) : IConsole | ||
CreateLanguageSetup ( ) : LanguageSetup | ||
CreateOptionsParser ( ) : |
||
CreateRuntimeSetup ( ) : ScriptRuntimeSetup | ||
ExecuteInternal ( ) : void | ||
ParseHostOptions ( string args ) : void | ||
ParseOptions ( string args, ScriptRuntimeSetup runtimeSetup, LanguageSetup languageSetup ) : ConsoleOptions | ||
PrintException ( |
||
PrintHelp ( ) : void | ||
PrintVersion ( ) : void | ||
ReportInvalidOption ( |
||
UnhandledException ( ScriptEngine engine, |
Метод | Описание | |
---|---|---|
CreateSuperConsole ( CommandLine commandLine, bool isColorful ) : IConsole | ||
Execute ( ) : void | ||
GetHelp ( ) : string | ||
GetLanguageProvider ( ScriptRuntimeSetup setup ) : string | ||
GetRuntime ( ) : string | ||
InsertSearchPaths ( object>.IDictionary |
||
PrintUsage ( ) : void | ||
Run ( string args ) : int | ||
RunCommandLine ( ) : int | ||
RunFile ( ) : int | ||
SetEnvironment ( ) : void |
protected CreateCommandLine ( ) : CommandLine | ||
Результат | CommandLine |
protected CreateConsole ( ScriptEngine engine, CommandLine commandLine, ConsoleOptions options ) : IConsole | ||
engine | ScriptEngine | |
commandLine | CommandLine | |
options | ConsoleOptions | |
Результат | IConsole |
protected CreateLanguageSetup ( ) : LanguageSetup | ||
Результат | LanguageSetup |
protected CreateOptionsParser ( ) : |
||
Результат |
protected CreateRuntimeSetup ( ) : ScriptRuntimeSetup | ||
Результат | ScriptRuntimeSetup |
protected ParseHostOptions ( string args ) : void | ||
args | string | |
Результат | void |
protected ParseOptions ( string args, ScriptRuntimeSetup runtimeSetup, LanguageSetup languageSetup ) : ConsoleOptions | ||
args | string | |
runtimeSetup | ScriptRuntimeSetup | |
languageSetup | LanguageSetup | |
Результат | ConsoleOptions |
protected static PrintException ( |
||
output | ||
e | ||
Результат | void |
public PrintLanguageHelp ( StringBuilder output ) : void | ||
output | StringBuilder | |
Результат | void |
protected ReportInvalidOption ( |
||
e | ||
Результат | void |
public Terminate ( int exitCode ) : void | ||
exitCode | int | The caller can specify the exitCode corresponding to the event triggering /// the termination. This will be returned from CommandLine.Run |
Результат | void |
protected UnhandledException ( ScriptEngine engine, |
||
engine | ScriptEngine | |
e | ||
Результат | void |