Constructor RoslynScriptProvider
RoslynScriptProvider(IScriptHost, SourceCodeKind)
Initializes a new instance of the RoslynScriptProvider
class with specified IScriptHost
.
public RoslynScriptProvider(IScriptHost scriptHost, SourceCodeKind sourceKind = SourceCodeKind.Regular)
Parameters
scriptHost
IScriptHostIScriptHost
holds script engine functionality.sourceKind
SourceCodeKindSpecifies regular or Script source kind