RazorEngine


DirectCompilerServiceBase

Defined in RazorEngine.dll.

Provides a base implementation of a direct compiler service.

Constructors

ConstructorDescription
new(...)
Signature: (codeLanguage:RazorCodeLanguage * codeDomProvider:CodeDomProvider * markupParserFactory:Func<ParserBase>) -> unit

Initialises a new instance of DirectCompilerServiceBase.

Instance members

Instance memberDescription
CodeDomProvider
Signature: CodeDomProvider
Modifiers: abstract

The underlaying CodeDomProvider instance.

CompileType(context)
Signature: context:TypeContext -> Type * CompilationData
Modifiers: abstract

Compiles the type defined in the specified type context.

Returns: The compiled type.

InspectSource(results, context)
Signature: (results:GeneratorResults * context:TypeContext) -> string
Modifiers: abstract

Inspects the GeneratorResults and returns the source code.

Returns:

Fork me on GitHub