Click or drag to resize
HandlebarsViewEngine Methods

The HandlebarsViewEngine type exposes the following members.

Methods
  NameDescription
Public methodClearCache
Clears the cache used by HandlebarsViewEngine.
Protected methodCreateView
Creates an IView instance that is ready to be rendered.
Public methodStatic memberExtractActionName
Gets the action name from the controller context.
Public methodStatic memberExtractAreaName
Gets the area name from the controller context.
Public methodStatic memberExtractControllerName
Gets the controller name from the controller context.
Protected methodFileExists
Checks for file existence.
Public methodFindPartialView
Finds the specified partial view by using the specified controller context.
Public methodFindView
Finds the specified view by using the specified controller context.
Protected methodGetCacheKey
Gets the cachekey for the specified path.
Public methodRegisterHelper(String, HandlebarsBlockHelper)
Registers a block helper in this view engine's global configuration.
Public methodCode exampleRegisterHelper(String, HandlebarsHelper)
Registers a helper in this view engine's global configuration.
Public methodRegisterMvcHelpers
Registers the builtin helpers that act a lot like their Razor/WebForms counterpart site-wide in the HandlebarsConfiguration.
Public methodRegisterSectionsHelpers
Registers the builtin helpers that act a lot like their Razor counterpart site-wide in the HandlebarsConfiguration.
Public methodRegisterTemplate
Registers a template in this view engine's global configuration.
Public methodReleaseView
Releases the specified view by using the specified controller context.
Top
See Also