RazorEngine


ITemplateKey

Defined in RazorEngine.dll.

With a template key a template can be resolved and loaded. Implementations of this interface are provided along with the ITemplateManager implementation. See BaseTemplateKey for a base implementation.

Instance members

Instance memberDescription
Context
Signature: ITemplateKey
Modifiers: abstract

The context where the template is to be resolved (ie the parent template).

GetUniqueKeyString()
Signature: unit -> string
Modifiers: abstract

Gets a unique string which can be used as key by the caching layer.

Returns:

Name
Signature: string
Modifiers: abstract

The name of the template (ie. when used in a @Include)

TemplateType
Signature: ResolveType
Modifiers: abstract

The layer where the template is to be resolved.

Fork me on GitHub