ITagHelperInitializer<TTagHelper> Interface

Summary

Initializes an Microsoft.AspNet.Razor.TagHelpers.ITagHelper before it’s executed.

Syntax

public interface ITagHelperInitializer<TTagHelper> where TTagHelper : ITagHelper

GitHub

View on GitHub

interface Microsoft.AspNet.Mvc.Razor.ITagHelperInitializer<TTagHelper>

Methods

Initialize(TTagHelper, Microsoft.AspNet.Mvc.Rendering.ViewContext)

Initializes the TTagHelper.

Arguments:
  • helper ({TTagHelper}) – The to initialize.
  • context (Microsoft.AspNet.Mvc.Rendering.ViewContext) – The for the executing view.
void Initialize(TTagHelper helper, ViewContext context)