Table of Contents

Class CodeDOMScriptHost

Namespace
Alternet.Scripter.CodeDOM
Assembly
Alternet.Scripter.v9.dll

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

AddResource(string, string)
Compile(bool, bool, bool)

Initializes script engine and compiles the script.

CreateWin32ManifestProvider()
Dispose(bool)
GenerateExpressionCode(string)
GenerateGlobalCode(IList<IScriptGlobalItem>)
GetPlatform()
GetResourceNamespace(string)
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.