RoslynCompilerServiceBase
Defined in RazorEngine.Roslyn.dll.
Base compiler service class for roslyn compilers
Constructors
Constructor | Description |
new(codeLanguage, markupParserFactory)
Signature: (codeLanguage:RazorCodeLanguage * markupParserFactory:Func<ParserBase>) -> unit
|
Instance members
Instance member | Description |
CompileType(context)
Signature: context:TypeContext -> Type * CompilationData
Modifiers: abstract |
Configures and runs the compiler. |
CreateOptions(context)
Signature: context:TypeContext -> CompilationOptions
Modifiers: abstract |
Create a empty CompilationOptions with the given namespace usings. |
GetEmptyCompilation(assemblyName)
Signature: assemblyName:string -> Compilation
Modifiers: abstract |
Get a new empty compilation instance from the concrete implementation. |
GetSyntaxTree(...)
Signature: (sourceCode:string * sourceCodeFile:string) -> SyntaxTree
Modifiers: abstract |
Gets a SyntaxTree from the given source code. |