HtmlHelperExtensions Class
Namespace: Nucleus.ViewFeatures
Assembly: Nucleus.ViewFeatures.dll
Extensions which use the HtmlHelper class.
Internal Use
This class is marked as internal use only. Internal use classes are not intended for use by extensions, and backward and forward compatibility is not guaranteed.
Fields
EXTENSIONPATH_TOKEN
Special token (~#) used by the AddScript and AddStyle html helpers to represent the extension path of the currently executing view.
VIEWPATH_TOKEN
Special token (~!) used by the AddScript and AddStyle html helpers to represent the path of the currently executing view.
Methods
ResolveExtensionUrl
(IHtmlHelper, String) Method
ResolveExtensionUrl (IHtmlHelper helper, String url)
Generates an absolute url from the passed-in relative url after substituting ~! for the currently executing view path, or ~# for the currently executing extension.
ResolveExtensionUrl
(ViewContext, String) Method
ResolveExtensionUrl (ViewContext viewContext, String url)
Generates an absolute url from the passed-in relative url after substituting ~! for the currently executing view path, or ~# for the currently executing extension.