ITagHelperComponent Interface

Definition

Contract used to modify an HTML element.

public interface class ITagHelperComponent
public interface ITagHelperComponent
type ITagHelperComponent = interface
Public Interface ITagHelperComponent
Derived

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.

ProcessAsync(TagHelperContext, TagHelperOutput)

Asynchronously executes the ITagHelperComponent with the given context and output.

Applies to