1 instantiation of ViewComponent
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewComponent.cs (1)
23[ViewComponent]
11 references to ViewComponent
Microsoft.AspNetCore.Mvc.ViewFeatures (11)
ViewComponents\DefaultViewComponentHelper.cs (2)
76nameof(ViewComponentAttribute), 107nameof(ViewComponentAttribute),
ViewComponents\ViewComponentConventions.cs (7)
27var attribute = componentType.GetCustomAttribute<ViewComponentAttribute>(); 45/// Get the component's full name from a type from the <see cref="ViewComponentAttribute.Name"/> first. 54var attribute = componentType.GetCustomAttribute<ViewComponentAttribute>(); 87/// defines <see cref="ViewComponentAttribute"/>, but not the <see cref="NonViewComponentAttribute"/> 107typeInfo.IsDefined(typeof(ViewComponentAttribute));
ViewComponents\ViewComponentDescriptor.cs (2)
66/// If <see cref="ViewComponentAttribute.Name"/> is used to set a name, then this will be used as 101/// If <see cref="ViewComponentAttribute.Name"/> is used to set a name, then the last segment of the