RazorEngine


DelegateTemplateManager

Defined in RazorEngine.dll.
Provides an ITemplateManager that supports delegated template resolution.

Constructors

ConstructorDescription
new(resolver)
Signature: resolver:Func<string,string> -> unit

Instance members

Instance memberDescription
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.
Fork me on GitHub