Table of Contents

Constructor CSharpScriptProvider

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

CSharpScriptProvider(IScriptHost, SourceCodeKind)

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

public CSharpScriptProvider(IScriptHost host, SourceCodeKind sourceKind = SourceCodeKind.Regular)

Parameters

host IScriptHost

IScriptHost holds script engine functionality.

sourceKind SourceCodeKind

Specifies regular or Script source kind