Click or drag to resize

IWebPageControllerBuilderUseModelT Method

Use the given model as the model to use when rendering Razor templates.

Namespace: GSF.Web.Hosting
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax
IWebPageControllerBuilder UseModel<T>(
	T model
)

Parameters

model  T
Reference to model to use when rendering Razor templates.

Type Parameters

T
Type of model.

Return Value

IWebPageControllerBuilder
The web page controller builder.
See Also