3 implementations of Services
Microsoft.AspNetCore.Components.Server (3)
DependencyInjection\ComponentServiceCollectionExtensions.cs (1)
105public IServiceCollection Services { get; }
DependencyInjection\IServerSideBlazorBuilder.cs (1)
16IServiceCollection IRazorComponentsBuilder.Services => Services;
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (1)
50public IServiceCollection Services { get; }
7 references to Services
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
RazorComponentEndpointInvokerTest.cs (1)
22.Services.AddAntiforgery()
Microsoft.AspNetCore.Components.Server (3)
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (3)
37builder.Services.AddServerSideBlazor(configure); 38builder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<RenderModeEndpointProvider, CircuitEndpointProvider>()); 40return new DefaultServerSideBlazorBuilder(builder.Services);
Microsoft.AspNetCore.Components.WebAssembly.Server (3)
WebAssemblyRazorComponentsBuilderExtensions.cs (3)
26builder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<RenderModeEndpointProvider, WebAssemblyEndpointProvider>()); 41builder.Services.TryAddEnumerable(ServiceDescriptor.Scoped<IHostEnvironmentAuthenticationStateProvider, AuthenticationStateSerializer>()); 44builder.Services.Configure(configure);