Table of Contents

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

string

GetTemplateName(string)

Gets the template name

public static string GetTemplateName(string templatePath)

Parameters

templatePath string

The template path

Returns

string

GetTemplatePath(string, string)

Gets the template path

public static string GetTemplatePath(string template, string folder)

Parameters

template string

The template name

folder string

The template folder

Returns

string

ShowFriendlyErrorMessageOnOutputError()

Shows if custom friendly error message must be returned instead of raw exception

public static bool ShowFriendlyErrorMessageOnOutputError()

Returns

bool
To top