TagHelperFeature Class¶
The list of tag helper types in an MVC application. The Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperFeature
can be populated
using the Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager
that is available during startup at Microsoft.Extensions.DependencyInjection.IMvcBuilder.PartManager
and Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder.PartManager
or at a later stage by requiring the Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager
as a dependency in a component.
- Namespace
Microsoft.AspNetCore.Mvc.Razor.TagHelpers
- Assemblies
- Microsoft.AspNetCore.Mvc.Razor
Syntax¶
public class TagHelperFeature
-
class
Microsoft.AspNetCore.Mvc.Razor.TagHelpers.
TagHelperFeature
Properties¶
-
Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperFeature.
TagHelpers
¶ Gets the list of tag helper types in an MVC application.
Return type: System.Collections.Generic.IList<System.Reflection.TypeInfo> public IList<TypeInfo> TagHelpers { get; }
-