TemplateBase<'T>
Defined in RazorEngine.dll.
Provides a base implementation of a template with a model.
Constructors
Constructor | Description |
new()
Signature: unit -> unit
|
Initialises a new instance of TemplateBase`1. |
Instance members
Instance member | Description |
HasDynamicModel()
Signature: unit -> bool
|
Determines whether this template has a dynamic model. |
Include(cacheName, model, modelType)
Signature: (cacheName:string * model:obj * modelType:Type) -> TemplateWriter
Modifiers: abstract |
Includes the template with the specified name. |
Model()
Signature: unit -> 'T
Modifiers: abstract |
Gets or sets the model. |
SetModel(model)
Signature: model:obj -> unit
Modifiers: abstract |
Set the model. |