1 instantiation of ViewComponentDescriptorCollection
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewComponents\DefaultViewComponentDescriptorCollectionProvider.cs (1)
42
return new
ViewComponentDescriptorCollection
(descriptors.ToArray(), version: 0);
11 references to ViewComponentDescriptorCollection
Microsoft.AspNetCore.Mvc.ViewFeatures (11)
ViewComponents\DefaultViewComponentDescriptorCollectionProvider.cs (3)
14
private
ViewComponentDescriptorCollection
_viewComponents;
26
public
ViewComponentDescriptorCollection
ViewComponents
39
private
ViewComponentDescriptorCollection
GetViewComponents()
ViewComponents\DefaultViewComponentHelper.cs (1)
95
var
descriptors = _descriptorProvider.ViewComponents;
ViewComponents\DefaultViewComponentSelector.cs (2)
32
var
collection = _descriptorProvider.ViewComponents;
55
public ViewComponentDescriptorCache(
ViewComponentDescriptorCollection
collection)
ViewComponents\IViewComponentDescriptorCollectionProvider.cs (3)
14
/// <see cref="
ViewComponentDescriptorCollection
.Version"/> in a thread safe way.
24
/// Returns the current cached <see cref="
ViewComponentDescriptorCollection
"/>.
26
ViewComponentDescriptorCollection
ViewComponents { get; }
ViewComponents\ViewComponentDescriptorCollection.cs (1)
12
/// Initializes a new instance of the <see cref="
ViewComponentDescriptorCollection
"/>.
ViewComponents\ViewComponentInvokerCache.cs (1)
27
var
actionDescriptors = _collectionProvider.ViewComponents;