TagHelper TagHelper TagHelper 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
    interface ITagHelperComponent
Public MustInherit Class TagHelper
Implements ITagHelper
Inheritance
TagHelperTagHelperTagHelperTagHelper
Derived
Implements

Constructors

TagHelper() TagHelper() TagHelper() TagHelper()

Properties

Order Order Order 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) Init(TagHelperContext) Init(TagHelperContext) 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) Process(TagHelperContext, TagHelperOutput) Process(TagHelperContext, TagHelperOutput) Process(TagHelperContext, TagHelperOutput)

Synchronously executes the TagHelper with the given context and output.

ProcessAsync(TagHelperContext, TagHelperOutput) ProcessAsync(TagHelperContext, TagHelperOutput) ProcessAsync(TagHelperContext, TagHelperOutput) ProcessAsync(TagHelperContext, TagHelperOutput)

Asynchronously executes the TagHelper with the given context and output.

Applies to