TemplateScript constructor

namespace: Serenity.Web   assemblySerenity.Net.Web

Creates a new instance of the class

public TemplateScript(string key, Func<string> getTemplate)
parameter description
key Template key
getTemplate Get template callback

Exceptions

exception condition
ArgumentNullException

See Also