RazorEngine


ResolvePathTemplateManager

Defined in RazorEngine.dll.

A TemplateManager resolving templates by path, given a list of folders to look into.

Constructors

ConstructorDescription
new(layoutRoots)
Signature: layoutRoots:IEnumerable<string> -> unit

Initializes a new TemplateManager.

Instance members

Instance memberDescription
AddDynamic(key, source)
Signature: (key:ITemplateKey * source:ITemplateSource) -> unit
Modifiers: abstract

Throws NotSupportedException.

GetKey(name, resolveType, context)
Signature: (name:string * resolveType:ResolveType * context:ITemplateKey) -> ITemplateKey
Modifiers: abstract

Get the given key.

Returns:

Resolve(key)
Signature: key:ITemplateKey -> ITemplateSource
Modifiers: abstract

Resolve the given key

Returns:

Fork me on GitHub