|
RazorEngineTLanguagePreCompile(ActionException, String) 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
Syntaxpublic Task PreCompile(
Action<Exception> exceptionHandler,
string templatePath
)
Public Function PreCompile (
exceptionHandler As Action(Of Exception),
templatePath As String
) As Task
public:
Task^ PreCompile(
Action<Exception^>^ exceptionHandler,
String^ templatePath
)
member PreCompile :
exceptionHandler : Action<Exception> *
templatePath : string -> Task
function PreCompile(exceptionHandler, templatePath);
View SourceParameters
- 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