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 https://github.com/dotnet/aspnetcore/blob/main/src/Mvc/Mvc.Razor/src/TagHelpers/UrlResolutionTagHelper.cs
Provides access to view context.
ProcessAsync (TagHelperContext context, TagHelperOutput output)
Handle ~! and ~# prefixes for element attributes which can contain Urls.
ProcessUrlAttribute (String attributeName, TagHelperOutput output)
Handle ~! and ~# prefix for the attribute name specified by attributeName.
Parameters
Name Type
attributeName String
output Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput