2 implementations of IViewComponentDescriptorProvider
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewComponents\DefaultViewComponentDescriptorProvider.cs (1)
14public class DefaultViewComponentDescriptorProvider : IViewComponentDescriptorProvider
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ViewComponentResultTest.cs (1)
707private class FixedSetViewComponentDescriptorProvider : IViewComponentDescriptorProvider
6 references to IViewComponentDescriptorProvider
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
180services.TryAddTransient<IViewComponentDescriptorProvider, DefaultViewComponentDescriptorProvider>();
ViewComponents\DefaultViewComponentDescriptorCollectionProvider.cs (3)
13private readonly IViewComponentDescriptorProvider _descriptorProvider; 19/// <param name="descriptorProvider">The <see cref="IViewComponentDescriptorProvider"/>.</param> 20public DefaultViewComponentDescriptorCollectionProvider(IViewComponentDescriptorProvider descriptorProvider)
ViewComponents\DefaultViewComponentDescriptorProvider.cs (1)
12/// Default implementation of <see cref="IViewComponentDescriptorProvider"/>.
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ViewComponentResultTest.cs (1)
672services.AddSingleton<IViewComponentDescriptorProvider>(new FixedSetViewComponentDescriptorProvider(descriptors));