Class CSharpScriptProvider
Provides code generation for C# based on Microsoft Roslyn.
public class CSharpScriptProvider : RoslynScriptProvider, IDisposable
- Inheritance
-
CSharpScriptProvider
- Implements
Constructors
- CSharpScriptProvider(IScriptHost, SourceCodeKind)
Initializes a new instance of the
CSharpScriptProvider
class with specifiedIScriptHost
.
Methods
- GenerateAssemblyInfo(string)
Generates an auto-code for the SDK-style version information.
- GenerateAutoCode()
Generates an auto-code for the SDK-style project configuration.
- GenerateGlobalItems(IList<IScriptGlobalItem>)
Generates code from given global items.