3 types derived from RenderModeEndpointProvider
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
HotReloadServiceTests.cs (1)
261private class MockEndpointProvider : RenderModeEndpointProvider
RazorComponentEndpointDataSourceTest.cs (2)
272private class ServerEndpointProvider : RenderModeEndpointProvider 285private class WebassemblyEndpointProvider : RenderModeEndpointProvider
14 references to RenderModeEndpointProvider
Microsoft.AspNetCore.Components.Endpoints (6)
Builder\RazorComponentEndpointDataSource.cs (4)
30private readonly RenderModeEndpointProvider[] _renderModeEndpointProviders; 46IEnumerable<RenderModeEndpointProvider> renderModeEndpointProviders, 141foreach (var provider in _renderModeEndpointProviders) 148RenderModeEndpointProvider.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)
231services.TryAddEnumerable(ServiceDescriptor.Singleton(typeof(RenderModeEndpointProvider), type)); 247services?.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>());