Table of Contents

Constructor RoslynScriptProvider

Namespace
Alternet.Scripter.Roslyn
Assembly
Alternet.Scripter.v9.dll

RoslynScriptProvider(IScriptHost, SourceCodeKind)

Initializes a new instance of the RoslynScriptProvider class with specified IScriptHost.

public RoslynScriptProvider(IScriptHost scriptHost, SourceCodeKind sourceKind = SourceCodeKind.Regular)

Parameters

scriptHost IScriptHost

IScriptHost holds script engine functionality.

sourceKind SourceCodeKind

Specifies regular or Script source kind