5 references to ViewComponentSuffix
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
ViewComponents\DefaultViewComponentHelper.cs (2)
77
ViewComponentConventions.
ViewComponentSuffix
,
108
ViewComponentConventions.
ViewComponentSuffix
,
ViewComponents\ViewComponentConventions.cs (3)
75
if (componentType.Name.EndsWith(
ViewComponentSuffix
, StringComparison.OrdinalIgnoreCase))
77
return componentType.Name.Substring(0, componentType.Name.Length -
ViewComponentSuffix
.Length);
106
typeInfo.Name.EndsWith(
ViewComponentSuffix
, StringComparison.OrdinalIgnoreCase) ||