TemplateScript constructor
namespace: Serenity.Web assembly: Serenity.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
- class TemplateScript