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 member | Description |
Context()
Signature: unit -> 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. |
Name()
Signature: unit -> string
Modifiers: abstract |
The name of the template (ie. when used in a @Include) |
TemplateType()
Signature: unit -> ResolveType
Modifiers: abstract |
The layer where the template is to be resolved. |