C# Class IronPython.Hosting.PythonService

Helper class for implementing the Python class. This is exposed as a service through PythonEngine and the helper class uses this service to get the correct remoting semantics.
Inheritance: System.MarshalByRefObject
Afficher le fichier Open project: jschementi/iron

Méthodes publiques

Méthode Description
CreateModule ( string name, string filename, string docString ) : ScriptScope
DispatchCommand ( System.Action command ) : void
GetBuiltins ( ) : ScriptScope
GetClr ( ) : ScriptScope
GetLocalCommandDispatcher ( ) : ObjectHandle

Returns an ObjectHandle to a delegate of type Action[Action] which calls the current command dispatcher.

GetModuleFilenames ( ) : string[]
GetSetCommandDispatcher ( ObjectHandle dispatcher ) : ObjectHandle
GetSystemState ( ) : ScriptScope
ImportModule ( ScriptEngine engine, string name ) : ScriptScope
PythonService ( IronPython.Runtime.PythonContext context, ScriptEngine engine ) : System

Private Methods

Méthode Description
InitializeLifetimeService ( ) : object

Method Details

CreateModule() public méthode

public CreateModule ( string name, string filename, string docString ) : ScriptScope
name string
filename string
docString string
Résultat ScriptScope

DispatchCommand() public méthode

public DispatchCommand ( System.Action command ) : void
command System.Action
Résultat void

GetBuiltins() public méthode

public GetBuiltins ( ) : ScriptScope
Résultat ScriptScope

GetClr() public méthode

public GetClr ( ) : ScriptScope
Résultat ScriptScope

GetLocalCommandDispatcher() public méthode

Returns an ObjectHandle to a delegate of type Action[Action] which calls the current command dispatcher.
public GetLocalCommandDispatcher ( ) : ObjectHandle
Résultat System.Runtime.Remoting.ObjectHandle

GetModuleFilenames() public méthode

public GetModuleFilenames ( ) : string[]
Résultat string[]

GetSetCommandDispatcher() public méthode

public GetSetCommandDispatcher ( ObjectHandle dispatcher ) : ObjectHandle
dispatcher System.Runtime.Remoting.ObjectHandle
Résultat System.Runtime.Remoting.ObjectHandle

GetSystemState() public méthode

public GetSystemState ( ) : ScriptScope
Résultat ScriptScope

ImportModule() public méthode

public ImportModule ( ScriptEngine engine, string name ) : ScriptScope
engine ScriptEngine
name string
Résultat ScriptScope

PythonService() public méthode

public PythonService ( IronPython.Runtime.PythonContext context, ScriptEngine engine ) : System
context IronPython.Runtime.PythonContext
engine ScriptEngine
Résultat System