ICompilerService
Defined in RazorEngine.dll.
Defines the required contract for implementing a compiler service.
Instance members
Instance member | Description |
CodeInspectors()
Signature: unit -> unit
Modifiers: abstract |
Gets or sets the set of code inspectors. |
CompileType(context)
Signature: context:TypeContext -> Type * CompilationData
Modifiers: abstract |
Compiles the type defined in the specified type context. Returns: The compiled type. |
Debug()
Signature: unit -> unit
Modifiers: abstract |
Gets or sets whether the compiler service is operating in debug mode. |
DisableTempFileLocking()
Signature: unit -> unit
Modifiers: abstract |
Gets or sets whether the compiler should load assemblies with Assembly.Load(byte[]) to prevent files from being locked. |
IncludeAssemblies()
Signature: unit -> IEnumerable<string>
Modifiers: abstract |
Returns a set of assemblies that must be referenced by the compiled template. Returns: The set of assemblies. |
ReferenceResolver()
Signature: unit -> unit
Modifiers: abstract |
Gets or sets the reference resolver. |