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>

IsAnonymousType (Type) Method

IsAnonymousType (Type type)
Return whether the specified type is an anonymous type.
Parameters
Name Type
type Type
Remarks
This code is from https://web.archive.org/web/20130817025324/http://www.liensberger.it/web/blog/?p=191.