RenderRazor(Type) Constructor
Parses Razor templates in each input document and outputs documents with rendered HTML content. If basePageType is specified, it will be used as the base type for Razor pages. The new base type must derive from StatiqRazorPage<TModel>.
Namespace
Statiq.Razor
Containing Type
RenderRazor

Syntax

public RenderRazor(Type basePageType = null)

Parameters

Name Type Description
basePageType Type Type of the base Razor page class, or null for the default base class.