Click or drag to resize

IRazorEngine Methods

The IRazorEngine type exposes the following members.

Methods
  Name Description
Public method AddTemplate Adds a given template to the template manager as dynamic template.
(Inherited from IRazorEngineService)
Public method Compile Compiles the specified template and caches it.
(Inherited from IRazorEngineService)
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public method GetKey Gets a given key from the ITemplateManager implementation. See GetKey(String, ResolveType, ITemplateKey).
(Inherited from IRazorEngineService)
Public method IsTemplateCached Checks if a given template is already cached.
(Inherited from IRazorEngineService)
Public method PreCompile Kicks off a task to pre-compile Razor templates.
Public method Run Runs the given cached template.
(Inherited from IRazorEngineService)
Public method RunCompile Runs the given cached template. When the cache does not contain the template it will be compiled and cached beforehand.
(Inherited from IRazorEngineService)
Top
See Also