8 references to ViewComponentConventions
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
ViewComponents\DefaultViewComponentDescriptorProvider.cs (2)
53FullName = ViewComponentConventions.GetComponentFullName(typeInfo), 54ShortName = ViewComponentConventions.GetComponentName(typeInfo),
ViewComponents\DefaultViewComponentHelper.cs (2)
77ViewComponentConventions.ViewComponentSuffix, 108ViewComponentConventions.ViewComponentSuffix,
ViewComponents\ViewComponentFeatureProvider.cs (1)
22if (ViewComponentConventions.IsComponent(type) && !feature.ViewComponents.Contains(type))
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
ViewComponents\ViewComponentConventionsTest.cs (3)
49var result = ViewComponentConventions.IsComponent(type.GetTypeInfo()); 68var result = ViewComponentConventions.GetComponentName(type.GetTypeInfo()); 87var result = ViewComponentConventions.GetComponentFullName(type.GetTypeInfo());