Table of Contents

Class DapScriptHost

Namespace
Alternet.Scripter.Debugger.Dap
Assembly
Alternet.Scripter.Debugger.Dap.v9.dll

Provides properties and methods to support script engine functionality based on System.CodeDom.Compiler technology.

public class DapScriptHost : ScriptHost, IScriptHost, IDisposable
Inheritance
DapScriptHost
Implements
Derived

Constructors

DapScriptHost(IScriptRun)

Methods

Compile()

Initializes script engine and compiles the script.

CreateReferenceResolver()
GenerateExpressionCode(string)
GetModulesSearchPaths()
ResolveReferences(IList<string>)

When implemented by a class, returns list of assembly references used by the script.

RunCore()
RunCoreAsync(CancellationToken)
RunFunctionCore(string, object[])
RunFunctionCoreAsync(string, object[], CancellationToken)
RunProcessCore(IScriptRun, string, object[], bool)

Executes script starting from the main entry point in standalone process.