PythonCompiler

Ecng.Compilation.Python

Python compiler.

Реализует: ICompiler, ISynchronizable

Конструкторы

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

Свойства

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.