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