Click or drag to resize

HtmlHelperRenderResourceT(String, T) Method

Renders a Razor view from an embedded resource.

Namespace: GSF.Web.Model
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax
public IEncodedString RenderResource<T>(
	string resourceName,
	T model
)
View Source

Parameters

resourceName  String
Embedded resource name.
model  T
Model instance.

Type Parameters

T
Type of model.

Return Value

IEncodedString
Rendered resource as an encoded string.
See Also