ViewComponentConventions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Static class that adds standard view component convention methods. This class cannot be inherited.
public ref class ViewComponentConventions abstract sealed
public static class ViewComponentConventions
type ViewComponentConventions = class
Public Class ViewComponentConventions
- Inheritance
-
ViewComponentConventions
Fields
ViewComponentSuffix |
The suffix for a view component name. |
Methods
GetComponentFullName(TypeInfo) |
Get the component's full name from a type from the Name first. If not defined, the full name is the Namespace with the Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentConventions.GetShortNameByConvention(System.Reflection.TypeInfo). |
GetComponentName(TypeInfo) |
Gets the name of a component. |
IsComponent(TypeInfo) |
Returns |