IRazor
|
public interface IRazorEngine : IRazorEngineService, IDisposable
The IRazorEngine type exposes the following members.
Name | Description | |
---|---|---|
TemplatePath | Gets the template path defined for this IRazorEngine. |
Name | Description | |
---|---|---|
AddTemplate |
Adds a given template to the template manager as dynamic template.
(Inherited from IRazorEngineService) | |
Compile |
Compiles the specified template and caches it.
(Inherited from IRazorEngineService) | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) | |
GetKey |
Gets a given key from the ITemplateManager implementation.
See GetKey(String, ResolveType, ITemplateKey).
(Inherited from IRazorEngineService) | |
IsTemplateCached |
Checks if a given template is already cached.
(Inherited from IRazorEngineService) | |
PreCompile | Kicks off a task to pre-compile Razor templates. | |
Run |
Runs the given cached template.
(Inherited from IRazorEngineService) | |
RunCompile |
Runs the given cached template.
When the cache does not contain the template
it will be compiled and cached beforehand.
(Inherited from IRazorEngineService) |