|
RazorEngine<TLanguage> .PreCompile(Action<Exception> , String) Method
|
Kicks off a task to pre-compile Razor templates.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.244-beta
Syntaxfunction PreCompile(exceptionHandler, templatePath);
View SourceParameters
- exceptionHandler Action<Exception>
- 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