TagHelperComponentTagHelper Class

Definition

Initializes and processes the ITagHelperComponents added to the Components in the specified order.

public ref class TagHelperComponentTagHelper abstract : Microsoft::AspNetCore::Razor::TagHelpers::TagHelper
public abstract class TagHelperComponentTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper
type TagHelperComponentTagHelper = class
    inherit TagHelper
Public MustInherit Class TagHelperComponentTagHelper
Inherits TagHelper
Inheritance
TagHelperComponentTagHelper
Derived

Constructors

TagHelperComponentTagHelper(ITagHelperComponentManager, ILoggerFactory)

Creates a new TagHelperComponentTagHelper and orders the the collection of ITagHelperComponents in Components.

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.

ViewContext

The ViewContext.

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.

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.

Applies to