RazorEngine


EmbeddedResourceTemplateManager

Defined in RazorEngine.dll.

A TemplateManager loading templates from embedded resources.

Constructors

ConstructorDescription
new(rootType)
Signature: rootType:Type -> 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:

RootType
Signature: Type

The type from the assembly that contains embedded resources

Fork me on GitHub