1 implementation of IViewComponentFactory
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewComponents\DefaultViewComponentFactory.cs (1)
13public class DefaultViewComponentFactory : IViewComponentFactory
8 references to IViewComponentFactory
Microsoft.AspNetCore.Mvc.ViewFeatures (7)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
172services.TryAddSingleton<IViewComponentFactory, DefaultViewComponentFactory>();
ViewComponents\DefaultViewComponentFactory.cs (1)
11/// Default implementation for <see cref="IViewComponentFactory"/>.
ViewComponents\DefaultViewComponentInvoker.cs (3)
21private readonly IViewComponentFactory _viewComponentFactory; 29/// <param name="viewComponentFactory">The <see cref="IViewComponentFactory"/>.</param> 34IViewComponentFactory viewComponentFactory,
ViewComponents\DefaultViewComponentInvokerFactory.cs (2)
11private readonly IViewComponentFactory _viewComponentFactory; 17IViewComponentFactory viewComponentFactory,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ViewComponentResultTest.cs (1)
671services.AddSingleton<IViewComponentFactory, DefaultViewComponentFactory>();