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)

public static string GetTemplateName(string templatePath)

Parameters

templatePath string

Returns

string

GetTemplatePath(string, string)

public static string GetTemplatePath(string template, string folder)

Parameters

template string
folder string

Returns

string

ShowFriendlyErrorMessageOnOutputError()

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

public static bool ShowFriendlyErrorMessageOnOutputError()

Returns

bool
To top