RazorEngine


WrapperTemplateManager

Defined in RazorEngine.dll.
This is a simple wrapper around an ITemplateResolver to provide an ITemplateManager service.

Constructors

ConstructorDescription
new(resolver)
Signature: resolver:ITemplateResolver -> unit
Initialises a new instance of DelegateTemplateResolver.

Instance members

Instance memberDescription
AddDynamic(key, source)
Signature: (key:ITemplateKey * source:ITemplateSource) -> unit
Modifiers: abstract
Adds a template dynamically.
GetKey(name, templateType, context)
Signature: (name:string * templateType:ResolveType * context:ITemplateKey) -> ITemplateKey
Modifiers: abstract
Gets the key for a template. See ITemplateManager.GetKey.
Resolve(key)
Signature: key:ITemplateKey -> ITemplateSource
Modifiers: abstract
Resolves the template content with the specified key.
Fork me on GitHub