LoadedTemplateSource
Defined in RazorEngine.dll.
A simple ITemplateSource implementation which represents an in-memory string.
Constructors
Constructor | Description |
new(template, templateFile)
Signature: (template:string * templateFile:string) -> unit
|
Initializes a new LoadedTemplateSource instance. |
Instance members
Instance member | Description |
GetTemplateReader()
Signature: unit -> TextReader
Modifiers: abstract |
Creates a new StringReader to read the in-memory stream. Returns: |
Template
Signature: string
Modifiers: abstract |
The in-memory template sourcecode. |
TemplateFile
Signature: string
Modifiers: abstract |
The template file or null if none exists. |