7 instantiations of ViewComponentFeatureProvider
Microsoft.AspNetCore.Mvc.Test (3)
MvcServiceCollectionExtensionsTest.cs (3)
303new ViewComponentFeatureProvider() 330new ViewComponentFeatureProvider() 356new ViewComponentFeatureProvider()
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
66manager.FeatureProviders.Add(new ViewComponentFeatureProvider());
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
DependencyInjection\MvcViewFeaturesMvcBuilderExtensionsTest.cs (1)
24manager.FeatureProviders.Add(new ViewComponentFeatureProvider());
ViewComponents\ViewComponentFeatureProviderTest.cs (2)
19manager.FeatureProviders.Add(new ViewComponentFeatureProvider()); 36manager.FeatureProviders.Add(new ViewComponentFeatureProvider());
2 references to ViewComponentFeatureProvider
Microsoft.AspNetCore.Mvc.Test (1)
MvcServiceCollectionExtensionsTest.cs (1)
371feature => Assert.IsType<ViewComponentFeatureProvider>(feature),
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
64if (!manager.FeatureProviders.OfType<ViewComponentFeatureProvider>().Any())