BodyTagHelper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A TagHelperComponentTagHelper targeting the <body> HTML element.
public ref class BodyTagHelper : Microsoft::AspNetCore::Mvc::Razor::TagHelpers::TagHelperComponentTagHelper
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElement("body")]
public class BodyTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperComponentTagHelper
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElement("body")>]
type BodyTagHelper = class
inherit TagHelperComponentTagHelper
Public Class BodyTagHelper
Inherits TagHelperComponentTagHelper
- Inheritance
- Attributes
Constructors
BodyTagHelper(ITagHelperComponentManager, ILoggerFactory) |
Creates a new BodyTagHelper. |
Properties
Order |
When a set of ITagHelpers are executed, their Init(TagHelperContext)'s are first invoked in the specified Order; then their ProcessAsync(TagHelperContext, TagHelperOutput)'s are invoked in the specified Order. Lower values are executed first. (Inherited from TagHelper) |
PropertyActivator |
Activates the ViewContext property of all the Components. (Inherited from TagHelperComponentTagHelper) |
ViewContext |
The ViewContext. (Inherited from TagHelperComponentTagHelper) |
Methods
Init(TagHelperContext) |
Initializes the ITagHelper with the given |
Process(TagHelperContext, TagHelperOutput) |
Synchronously executes the TagHelper with the given |
ProcessAsync(TagHelperContext, TagHelperOutput) |
Asynchronously executes the TagHelper with the given |
Applies to
Feedback
Submit and view feedback for