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