TagHelperConventions Class¶
Default convention for determining if a type is a tag helper.
- Namespace
Microsoft.AspNetCore.Razor.Runtime.TagHelpers- Assemblies
- Microsoft.AspNetCore.Razor.Runtime
Syntax¶
public class TagHelperConventions
-
class
Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperConventions
Methods¶
-
IsTagHelper(System.Reflection.TypeInfo)¶ Indicates whether or not the
System.Reflection.TypeInfois a tag helper.Arguments: typeInfo (System.Reflection.TypeInfo) – The System.Reflection.TypeInfo.Return type: System.Boolean Returns: true if <em>typeInfo</em> is a tag helper; false otherwise. public static bool IsTagHelper(TypeInfo typeInfo)
-