ITagHelper ITagHelper ITagHelper Interface

Definition

Contract used to filter matching HTML elements. Marker interface for TagHelpers.

public interface ITagHelper : Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent
type ITagHelper = interface
    interface ITagHelperComponent
Public Interface ITagHelper
Implements ITagHelperComponent
Derived
Implements

Properties

Order Order Order

When a set ofITagHelper s are executed, theirInit(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)

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.

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

Asynchronously executes the ITagHelper with the given context and output.

Applies to