TagHelper Class

Definition

An abstract base class for ITagHelper.

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

Constructors

TagHelper()

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.

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.

ProcessAsync(TagHelperContext, TagHelperOutput)

Asynchronously executes the TagHelper with the given context and output.

Applies to