ViewComponentConventions 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
添加标准视图组件约定方法的静态类。 此类不能被继承。
public ref class ViewComponentConventions abstract sealedpublic static class ViewComponentConventionstype ViewComponentConventions = classPublic Class ViewComponentConventions- 继承
- 
				ViewComponentConventions
字段
| ViewComponentSuffix | 视图组件名称的后缀。 | 
方法
| GetComponentFullName(TypeInfo) | 从第一个 类型 Name 获取组件的全名。 如果未定义,则全名是包含 的 Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentConventions.GetShortNameByConvention(System.Reflection.TypeInfo)命名空间。 | 
| GetComponentName(TypeInfo) | 获取组件的名称。 | 
| IsComponent(TypeInfo) | 
               |