Class CodeDOMScriptHost
Provides properties and methods to support script engine functionality based on System.CodeDom.Compiler
technology.
public class CodeDOMScriptHost : ScriptHost, IScriptHost, IDisposable
- Inheritance
-
CodeDOMScriptHost
- Implements
Constructors
- CodeDOMScriptHost(IScriptRun)
Initializes a new instance of the
CodeDomScriptHost
class with specified script runner.
Properties
- Compiled
Gets boolean value indicating that script has been compiled and ready to be executed.
- ScriptAssembly
Returns compiled script assembly.
Methods
- Compile(bool, bool, bool)
Initializes script engine and compiles the script.
- ReferencesDotNetCoreRuntime(out Version)
Detects a version of the DotNET Core installed on the PC.
- Reset()
Removes the script engine from the running state and disconnects automatically bound event handlers.