Nucleus .Net Core CMS

Razor.TemplateParser Class

Namespace: Nucleus.Extensions.Razor
Assembly: Nucleus.Extensions.dll
Parse a template string using both the Razor parser and the Simple parser.

Methods

ParseTemplate<TModel> (String,<TModel>) Method

ParseTemplate<TModel> (String template, <TModel> model)
Parse a template string.
Type Parameters
TModel Type of the model object used as input data.
Parameters
Name Type
template String
model <TModel>