Click or drag to resize

RazorEngineTLanguage Methods

The RazorEngineTLanguage type exposes the following members.

Methods
  Name Description
Public method AddTemplate Adds a given template to the template manager as dynamic template.
Public method Compile(ITemplateKey, Type) Compiles the specified template and caches it.
Public method Compile(String, Type) Compiles the specified template, by name, and caches it.
Public method Dispose Releases all the resources used by the RazorEngineTLanguage object.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the RazorEngineTLanguage object and optionally releases the managed resources.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method Static member GetConfiguredEngine Gets a shared RazorEngineTLanguage instance created based on configured template path defined in the specified settingsCategory.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetKey Gets a given key from the ITemplateManager implementation. See GetKey(String, ResolveType, ITemplateKey).
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method IsTemplateCached Checks if a given template is already cached.
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method PreCompile(ActionException) Kicks off a task to pre-compile Razor templates.
Public method PreCompile(ActionException, String) Kicks off a task to pre-compile Razor templates.
Public method PreCompile(Type, ActionException, String) Kicks off a task to pre-compile Razor templates.
Public method Run Runs the given cached template.
Public method RunCompile Runs the given cached template. When the cache does not contain the template it will be compiled and cached beforehand.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also