Summary
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 WyamRazorPage<TModel>.
- Assembly
- Wyam
.Razor .dll - Namespace
- Wyam
.Razor - Containing Type
- Razor
Syntax
public Razor(Type basePageType = null)
Parameters
| Name | Type | Description |
|---|---|---|
| basePageType | Type | Type of the base Razor page class, or null for the default base class. |
Return Value
| Type | Description |
|---|---|
| void |
