Click or drag to resize

RazorViewDataContextEngine Property

Gets or sets IRazorEngine to use for the DataContext provided to the view; defaults to null.

Namespace: GSF.Web.Model
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax
public IRazorEngine DataContextEngine { get; set; }
View Source

Property Value

IRazorEngine
Remarks
This should typically not be changed. When value is null, the data context will use the default RazorEngineTLanguage instance for CSharpEmbeddedResource which is used to generate template based HTML input fields for a view. The default HTML input templates are defined as embedded resources in GSF.Web.
See Also