3 implementations of IComponentActivator
Microsoft.AspNetCore.Components.Tests (3)
ComponentFactoryTest.cs (2)
362private class CustomComponentActivator<TResult> : IComponentActivator where TResult : IComponent, new() 370private class NullResultComponentActivator : IComponentActivator
RendererTest.cs (1)
5154private class TestComponentActivator<TResult> : IComponentActivator where TResult : IComponent, new()
21 references to IComponentActivator
Microsoft.AspNetCore.Components (9)
ComponentFactory.cs (2)
21private readonly IComponentActivator _componentActivator; 24public ComponentFactory(IComponentActivator componentActivator, Renderer renderer)
DefaultComponentActivator.cs (1)
10internal sealed class DefaultComponentActivator(IServiceProvider serviceProvider) : IComponentActivator
RenderTree\Renderer.cs (6)
79/// <param name="componentActivator">The <see cref="IComponentActivator"/>.</param> 80public Renderer(IServiceProvider serviceProvider, ILoggerFactory loggerFactory, IComponentActivator componentActivator) 102private static IComponentActivator GetComponentActivatorOrDefault(IServiceProvider serviceProvider) 104return serviceProvider.GetService<IComponentActivator>() 1253/// <param name="componentActivator">An <see cref="IComponentActivator"/> that should be used when instantiating component objects.</param> 1259IComponentActivator componentActivator,
Microsoft.AspNetCore.Components.Authorization.Tests (1)
src\Components\Shared\test\TestRenderer.cs (1)
27public TestRenderer(IServiceProvider serviceProvider, IComponentActivator componentActivator)
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.Prerendering.cs (1)
19protected override IComponent ResolveComponentForRenderMode([DynamicallyAccessedMembers(Component)] Type componentType, int? parentComponentId, IComponentActivator componentActivator, IComponentRenderMode renderMode)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
ImportMapTest.cs (1)
255public TestRenderer(IServiceProvider serviceProvider, IComponentActivator componentActivator)
Microsoft.AspNetCore.Components.Forms.Tests (1)
src\Components\Shared\test\TestRenderer.cs (1)
27public TestRenderer(IServiceProvider serviceProvider, IComponentActivator componentActivator)
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteRenderer.cs (1)
309protected override IComponent ResolveComponentForRenderMode([DynamicallyAccessedMembers(Component)] Type componentType, int? parentComponentId, IComponentActivator componentActivator, IComponentRenderMode renderMode)
Microsoft.AspNetCore.Components.Tests (5)
ComponentFactoryTest.cs (2)
421public IComponentActivator SuppliedActivator { get; private set; } 436protected internal override IComponent ResolveComponentForRenderMode(Type componentType, int? parentComponentId, IComponentActivator componentActivator, IComponentRenderMode renderMode)
RendererTest.cs (2)
4513serviceProvider.AddService<IComponentActivator>(componentActivator); 5142protected internal override IComponent ResolveComponentForRenderMode(Type componentType, int? parentComponentId, IComponentActivator componentActivator, IComponentRenderMode renderMode)
src\Components\Shared\test\TestRenderer.cs (1)
27public TestRenderer(IServiceProvider serviceProvider, IComponentActivator componentActivator)
Microsoft.AspNetCore.Components.Web.Tests (1)
src\Components\Shared\test\TestRenderer.cs (1)
27public TestRenderer(IServiceProvider serviceProvider, IComponentActivator componentActivator)
Microsoft.AspNetCore.Components.WebAssembly (1)
Rendering\WebAssemblyRenderer.cs (1)
187protected override IComponent ResolveComponentForRenderMode([DynamicallyAccessedMembers(Component)] Type componentType, int? parentComponentId, IComponentActivator componentActivator, IComponentRenderMode renderMode)