12 references to AddScoped
Aspire.Dashboard (4)
DashboardWebApplication.cs (4)
306builder.Services.AddScoped<IThemeResolver, BrowserThemeResolver>(); 316builder.Services.AddScoped<IAIContextProvider, AIContextProvider>(); 322builder.Services.AddScoped<ILocalStorage, LocalBrowserStorage>(); 323builder.Services.AddScoped<ISessionStorage, SessionBrowserStorage>();
Aspire.Dashboard.Components.Tests (1)
Shared\ResourceSetupHelpers.cs (1)
62context.Services.AddScoped<DashboardCommandExecutor, DashboardCommandExecutor>();
Microsoft.AspNetCore.Components.Server (4)
DependencyInjection\ComponentServiceCollectionExtensions.cs (4)
108services.AddScoped<NavigationManager, RemoteNavigationManager>(); 109services.AddScoped<IJSRuntime, RemoteJSRuntime>(); 110services.AddScoped<INavigationInterception, RemoteNavigationInterception>(); 111services.AddScoped<IScrollToLocationHash, RemoteScrollToLocationHash>();
Microsoft.AspNetCore.Hosting (1)
WebHostBuilder.cs (1)
295services.AddScoped<IMiddlewareFactory, MiddlewareFactory>();
Microsoft.Extensions.DependencyInjection.Abstractions (1)
Extensions\ServiceCollectionDescriptorExtensions.cs (1)
296/// <seealso cref="ServiceCollectionServiceExtensions.AddScoped{TService, TImplementation}(IServiceCollection)"/>
Microsoft.Extensions.Identity.Core (1)
IdentityBuilder.cs (1)
106Services.AddScoped<IdentityErrorDescriber, TDescriber>();