![]() | Helpers Class |
Namespace: HandlebarsDotNet.Mvc
The Helpers type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() ![]() | DefineSection |
Assigns content to a named section.
|
![]() ![]() ![]() | HtmlAntiForgeryToken |
Generates a hidden form field (anti-forgery token) that is validated when the form is submitted.
|
![]() ![]() ![]() | HtmlRenderAction |
Invokes the child action method using the specified parameters and renders the result inline in the parent view.
|
![]() ![]() ![]() | IsSectionDefined |
Returns a value to be used within an #if subexpression whether a section name has been defined.
|
![]() ![]() ![]() | RenderSection |
Renders the named section.
|
![]() ![]() ![]() | ScriptsRender |
Renders script tags for the specified paths.
|
![]() ![]() ![]() | StylesRender |
Renders link tags for a set of paths.
|
![]() ![]() ![]() | UrlAction |
Generates a fully qualified URL to an action method.
|
![]() ![]() ![]() | UrlContent |
Converts a virtual (relative) path to an application absolute path and renders the result.
|
![]() ![]() ![]() | UrlEncode |
Encodes text so it is usable in a URL.
|