Click or drag to resize

RazorEngineTLanguageRunCompile Method

Runs the given cached template. When the cache does not contain the template it will be compiled and cached beforehand.

Namespace: GSF.Web.Model
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax
public void RunCompile(
	ITemplateKey key,
	TextWriter writer,
	Type modelType = null,
	Object model = null,
	DynamicViewBag viewBag = null
)
View Source

Parameters

key  ITemplateKey
 
writer  TextWriter
 
modelType  Type  (Optional)
 
model  Object  (Optional)
 
viewBag  DynamicViewBag  (Optional)
 

Implements

IRazorEngineService.RunCompile(ITemplateKey, TextWriter, Type, Object, DynamicViewBag)
See Also