Share via


TagHelperComponent Class

Definition

An abstract base class for ITagHelperComponent.

public ref class TagHelperComponent abstract : Microsoft::AspNetCore::Razor::TagHelpers::ITagHelperComponent
public abstract class TagHelperComponent : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent
type TagHelperComponent = class
    interface ITagHelperComponent
Public MustInherit Class TagHelperComponent
Implements ITagHelperComponent
Inheritance
TagHelperComponent
Derived
Implements

Constructors

TagHelperComponent()

Properties

Order

When a set of ITagHelperComponents 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.

Methods

Init(TagHelperContext)

Initializes the ITagHelperComponent 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 ITagHelperComponent with the given context and output.

ProcessAsync(TagHelperContext, TagHelperOutput)

Asynchronously executes the ITagHelperComponent with the given context and output.

Applies to