DelegateTemplateManager
Defined in RazorEngine.dll.
Provides an ITemplateManager that supports delegated template resolution.
Constructors
Constructor | Description |
new(resolver)
Signature: resolver:Func<string,string> -> unit
|
Instance members
Instance member | Description |
AddDynamic(key, source)
Signature: (key:ITemplateKey * source:ITemplateSource) -> unit
Modifiers: abstract |
Dynamically add a new template. |
GetKey(name, templateType, context)
Signature: (name:string * templateType:ResolveType * context:ITemplateKey) -> ITemplateKey
Modifiers: abstract |
Creates a template-key instance (see also ITemplateManager.GetKey). |
Resolve(key)
Signature: key:ITemplateKey -> ITemplateSource
Modifiers: abstract |
Resolves the template content with the specified name. |