PythonCompiler
Ecng.Compilation.Python
Python compiler.
Implementa: ICompiler, ISynchronizable
Constructores
PythonCompiler
public PythonCompiler()
pythonCompiler = PythonCompiler()
Initializes a new instance of the PythonCompiler class.
PythonCompiler
public PythonCompiler(ScriptEngine engine)
pythonCompiler = PythonCompiler(engine)
Initializes a new instance of the PythonCompiler class.
- engine
- ScriptEngine
Propiedades
SyncRoot
public Lock SyncRoot { get; }
value = pythonCompiler.SyncRoot
Synchronization object for thread-safe access to the engine. Use this to synchronize script execution when running scripts in parallel.