Nucleus .Net Core CMS

TagHelpers.UrlTagHelper Class

Namespace: Nucleus.ViewFeatures.TagHelpers
Assembly: Nucleus.ViewFeatures.dll
TagHelper which handles the Nucleus ~! (path of the currently executing view) and ~# (path of the currently executing Nucleus extension) prefixes in elements which can have an attribute which represents an Url.


Some code copied from


ViewContext Property

Provides access to view context.


ProcessAsync (TagHelperContext,TagHelperOutput) Method

ProcessAsync (TagHelperContext context, TagHelperOutput output)
Handle ~! and ~# prefixes for element attributes which can contain Urls.

ProcessUrlAttribute (String,TagHelperOutput) Method

ProcessUrlAttribute (String attributeName, TagHelperOutput output)
Handle ~! and ~# prefix for the attribute name specified by attributeName.
Name Type
attributeName String
output Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput