Click or drag to resize

RazorEngineTLanguagePreCompile(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.218-beta
Syntax
public Task PreCompile(
	Action<Exception> exceptionHandler,
	string templatePath
)
View Source

Parameters

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