HeadTagHelper Class

Definition

A TagHelperComponentTagHelper targeting the <head> HTML element.

public ref class HeadTagHelper : Microsoft::AspNetCore::Mvc::Razor::TagHelpers::TagHelperComponentTagHelper
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElement("head")]
public class HeadTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperComponentTagHelper
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElement("head")>]
type HeadTagHelper = class
    inherit TagHelperComponentTagHelper
Public Class HeadTagHelper
Inherits TagHelperComponentTagHelper
Inheritance
Attributes

Constructors

HeadTagHelper(ITagHelperComponentManager, ILoggerFactory)

Creates a new HeadTagHelper.

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 context. Additions to Items should be done within this method to ensure they're added prior to executing the children.

(Inherited from TagHelperComponentTagHelper)
Process(TagHelperContext, TagHelperOutput)

Synchronously executes the TagHelper with the given context and output.

(Inherited from TagHelper)
ProcessAsync(TagHelperContext, TagHelperOutput)

Asynchronously executes the TagHelper with the given context and output.

(Inherited from TagHelperComponentTagHelper)

Applies to