3 types derived from RenderModeEndpointProvider
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
HotReloadServiceTests.cs (1)
261private class MockEndpointProvider : RenderModeEndpointProvider
RazorComponentEndpointDataSourceTest.cs (2)
264private class ServerEndpointProvider : RenderModeEndpointProvider 277private class WebassemblyEndpointProvider : RenderModeEndpointProvider
14 references to RenderModeEndpointProvider
Microsoft.AspNetCore.Components.Endpoints (6)
Builder\RazorComponentEndpointDataSource.cs (4)
27private readonly RenderModeEndpointProvider[] _renderModeEndpointProviders; 43IEnumerable<RenderModeEndpointProvider> renderModeEndpointProviders, 138foreach (var provider in _renderModeEndpointProviders) 145RenderModeEndpointProvider.AddEndpoints(
Builder\RazorComponentEndpointDataSourceFactory.cs (1)
15IEnumerable<RenderModeEndpointProvider> providers,
Builder\RenderModeEndpointProvider.cs (1)
18/// Determines whether this <see cref="RenderModeEndpointProvider"/> supports the specified <paramref name="renderMode"/>.
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
HotReloadServiceTests.cs (1)
220services.TryAddEnumerable(ServiceDescriptor.Singleton(typeof(RenderModeEndpointProvider), type));
RazorComponentEndpointDataSourceTest.cs (3)
223services.TryAddEnumerable(ServiceDescriptor.Singleton(typeof(RenderModeEndpointProvider), type)); 239services?.GetService<IEnumerable<RenderModeEndpointProvider>>() ?? Enumerable.Empty<RenderModeEndpointProvider>(),
Microsoft.AspNetCore.Components.Server (2)
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (2)
38builder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<RenderModeEndpointProvider, CircuitEndpointProvider>()); 53private class CircuitEndpointProvider(IServiceProvider services) : RenderModeEndpointProvider
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
WebAssemblyEndpointProvider.cs (1)
13internal class WebAssemblyEndpointProvider(IServiceProvider services) : RenderModeEndpointProvider
WebAssemblyRazorComponentsBuilderExtensions.cs (1)
26builder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<RenderModeEndpointProvider, WebAssemblyEndpointProvider>());