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