Class TemplateHelper
- Namespace
- Dynamicweb.Rendering
- Assembly
- Dynamicweb.Core.dll
public static class TemplateHelper
- Inheritance
-
TemplateHelper
- Inherited Members
Methods
GetFriendlyErrorMessage()
Returns the custom friendly error message text
public static string GetFriendlyErrorMessage()
Returns
GetTemplateName(string)
Gets the template name
public static string GetTemplateName(string templatePath)
Parameters
templatePathstringThe template path
Returns
GetTemplatePath(string, string)
Gets the template path
public static string GetTemplatePath(string template, string folder)
Parameters
Returns
ShowFriendlyErrorMessageOnOutputError()
Shows if custom friendly error message must be returned instead of raw exception
public static bool ShowFriendlyErrorMessageOnOutputError()