SimpleInjectorTagHelperActivatorCreateTTagHelper Method

Simple Injector
Creates an ITagHelper.

Namespace:  SimpleInjector.Integration.AspNetCore.Mvc
Assembly:  SimpleInjector.Integration.AspNetCore.Mvc (in SimpleInjector.Integration.AspNetCore.Mvc.dll) Version: 4.1.0-alpha1
Syntax

public TTagHelper Create<TTagHelper>(
	ViewContext context
)
where TTagHelper : ITagHelper

Parameters

context
Type: ViewContext
The ViewContext for the executing view.

Type Parameters

TTagHelper
The ITagHelper type.

Return Value

Type: TTagHelper
The tag helper.

Implements

ITagHelperActivator.Create``1(ViewContext)
See Also

Reference