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