Свойство | Type | Description | |
---|---|---|---|
GetEffectiveExitCode | int | ||
GetVersionString | string | ||
ImportSite | void | ||
InitializeExtensionDLLs | void | ||
InitializeModules | string | ||
InitializePath | void | ||
RunCommandWorker | int | ||
RunFileWorker | int | ||
RunOneInteraction | int? | ||
RunStartup | void | ||
TryInteractiveActionWorker | int? |
Méthode | Description | |
---|---|---|
GetGlobals ( string name ) : IList |
||
GetLogoDisplay ( ) : string |
Returns the display look for IronPython. The returned string uses This \n instead of Environment.NewLine for it's line seperator because it is intended to be outputted through the Python I/O system.
|
|
PythonCommandLine ( ) : System |
Méthode | Description | |
---|---|---|
CreateScope ( ) : Scope | ||
GetNextAutoIndentSize ( string text ) : int | ||
Initialize ( ) : void | ||
Run ( ) : int | ||
RunCommand ( string command ) : int | ||
RunFile ( string fileName ) : int | ||
RunInteractive ( ) : int | ||
Shutdown ( ) : void | ||
TryInteractiveAction ( ) : int? | ||
UnhandledException ( Exception e ) : void |
Méthode | Description | |
---|---|---|
GetEffectiveExitCode ( |
||
GetVersionString ( ) : string | ||
ImportSite ( ) : void | ||
InitializeExtensionDLLs ( ) : void |
Loads any extension DLLs present in sys.prefix\DLLs directory and adds references to them. This provides an easy drop-in location for .NET assemblies which should be automatically referenced (exposed via import), COM libraries, and pre-compiled Python code.
|
|
InitializeModules ( ) : string | ||
InitializePath ( int &pathIndex ) : void | ||
RunCommandWorker ( string command ) : int | ||
RunFileWorker ( string fileName ) : int | ||
RunOneInteraction ( ) : int? |
Parses a single interactive command and executes it. Returns null if successful and execution should continue, or the appropiate exit code.
|
|
RunStartup ( ) : void | ||
TryInteractiveActionWorker ( ) : int? |
Attempts to run a single interaction and handle any language-specific exceptions. Base classes can override this and call the base implementation surrounded with their own exception handling. Returns null if successful and execution should continue, or an exit code.
|
protected GetNextAutoIndentSize ( string text ) : int | ||
text | string | |
Résultat | int |
protected RunCommand ( string command ) : int | ||
command | string | |
Résultat | int |
protected RunFile ( string fileName ) : int | ||
fileName | string | |
Résultat | int |
protected UnhandledException ( Exception e ) : void | ||
e | Exception | |
Résultat | void |