net9.0
namespace Microsoft.AspNetCore.Mvc.TagHelpers
{
[HtmlTargetElement("a", Attributes = "asp-action")]
[HtmlTargetElement("a", Attributes = "asp-controller")]
[HtmlTargetElement("a", Attributes = "asp-area")]
[HtmlTargetElement("a", Attributes = "asp-page")]
[HtmlTargetElement("a", Attributes = "asp-page-handler")]
[HtmlTargetElement("a", Attributes = "asp-fragment")]
[HtmlTargetElement("a", Attributes = "asp-host")]
[HtmlTargetElement("a", Attributes = "asp-protocol")]
[HtmlTargetElement("a", Attributes = "asp-route")]
[HtmlTargetElement("a", Attributes = "asp-all-route-data")]
[HtmlTargetElement("a", Attributes = "asp-route-*")]
public class AnchorTagHelper : TagHelper
{
[HtmlAttributeName("asp-controller")]
public string Controller { get; set; }
}
}
nuget.org | 0.1 %
Reference this API 0.0 %
Get property 0.1 %
Set property |
---|---|
Upgrade Planner | 0.1 %
Reference this API 0.0 %
Get property 0.1 %
Set property |
.NET | 5.06.07.08.09.0 |
.NET Core | 2.02.12.23.03.1 |
Information specific to net9.0 | |
Assembly | Microsoft.AspNetCore.Mvc.TagHelpers , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Requires any:
|
Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |