4 instantiations of DefaultViewComponentFactory
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
ViewComponents\DefaultViewComponentFactoryTest.cs (4)
23var factory = new DefaultViewComponentFactory(activator.Object); 49var factory = new DefaultViewComponentFactory(viewComponentActivator.Object); 73var factory = new DefaultViewComponentFactory(viewComponentActivator.Object); 97var factory = new DefaultViewComponentFactory(viewComponentActivator.Object);
7 references to DefaultViewComponentFactory
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
172services.TryAddSingleton<IViewComponentFactory, DefaultViewComponentFactory>();
ViewComponents\DefaultViewComponentFactory.cs (1)
20/// Creates a new instance of <see cref="DefaultViewComponentFactory"/>
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (5)
ViewComponentResultTest.cs (1)
671services.AddSingleton<IViewComponentFactory, DefaultViewComponentFactory>();
ViewComponents\DefaultViewComponentFactoryTest.cs (4)
23var factory = new DefaultViewComponentFactory(activator.Object); 49var factory = new DefaultViewComponentFactory(viewComponentActivator.Object); 73var factory = new DefaultViewComponentFactory(viewComponentActivator.Object); 97var factory = new DefaultViewComponentFactory(viewComponentActivator.Object);