|
IRazorEnginePreCompile Method
|
Kicks off a task to pre-compile Razor templates.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.248-beta
SyntaxTask PreCompile(
Action<Exception> exceptionHandler = null
)
Function PreCompile (
Optional exceptionHandler As Action(Of Exception) = Nothing
) As Task
Task^ PreCompile(
Action<Exception^>^ exceptionHandler = nullptr
)
abstract PreCompile :
?exceptionHandler : Action<Exception>
(* Defaults:
let _exceptionHandler = defaultArg exceptionHandler null
*)
-> Task
function PreCompile(exceptionHandler);
View SourceParameters
- exceptionHandler ActionException (Optional)
- Exception handler used to report issues, if any.
Return Value
Task
See Also