TagHelperComponent.Init(TagHelperContext) Method

Definition

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.

public:
 virtual void Init(Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContext ^ context);
public virtual void Init (Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context);
abstract member Init : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext -> unit
override this.Init : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext -> unit
Public Overridable Sub Init (context As TagHelperContext)

Parameters

context
TagHelperContext

Contains information associated with the current HTML tag.

Implements

Applies to