ViewComponentConventions Class

Syntax

public class ViewComponentConventions

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ViewComponents.ViewComponentConventions

Methods

GetComponentFullName(System.Reflection.TypeInfo)
Arguments:
  • componentType (System.Reflection.TypeInfo) –
Return type:

System.String

public static string GetComponentFullName(TypeInfo componentType)
GetComponentName(System.Reflection.TypeInfo)
Arguments:
  • componentType (System.Reflection.TypeInfo) –
Return type:

System.String

public static string GetComponentName(TypeInfo componentType)
IsComponent(System.Reflection.TypeInfo)
Arguments:
  • typeInfo (System.Reflection.TypeInfo) –
Return type:

System.Boolean

public static bool IsComponent(TypeInfo typeInfo)