Click or drag to resize

RazorEngineTLanguagePreCompile(Type, ActionException, String) Method

Kicks off a task to pre-compile Razor templates.

Namespace: GSF.Web.Model
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax
public Task PreCompile(
	Type modelType,
	Action<Exception> exceptionHandler,
	string templatePath
)
View Source

Parameters

modelType  Type
The type of the model used for the application.
exceptionHandler  ActionException
Exception handler used to report issues, if any.
templatePath  String
Template path is use; otherwise, set to null to use default path.

Return Value

Task
See Also