Razor.

WithModel(DocumentConfig) Method

Summary

Specifies a model to use for each page based on the current input document and context.
Assembly
Wyam.Razor.dll
Namespace
Wyam.Razor
Containing Type
Razor

Syntax

public Razor WithModel(DocumentConfig model)

Parameters

Name Type Description
model DocumentConfig A delegate that returns the model.

Return Value

Type Description
Razor The current module instance.
GitHub