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.