46 references to TryAddScoped
Microsoft.AspNetCore.Authentication.Core (2)
Microsoft.AspNetCore.Components.Endpoints (10)
DependencyInjection\RazorComponentsServiceCollectionExtensions.cs (10)
54services.TryAddScoped<IRazorComponentEndpointInvoker, RazorComponentEndpointInvoker>();
61services.TryAddScoped<NavigationManager, HttpNavigationManager>();
62services.TryAddScoped<IJSRuntime, UnsupportedJavaScriptRuntime>();
63services.TryAddScoped<INavigationInterception, UnsupportedNavigationInterception>();
64services.TryAddScoped<IScrollToLocationHash, UnsupportedScrollToLocationHash>();
67services.TryAddScoped<IErrorBoundaryLogger, PrerenderingErrorBoundaryLogger>();
72services.TryAddScoped<AuthenticationStateProvider, ServerAuthenticationStateProvider>();
104services.TryAddScoped<AntiforgeryStateProvider, EndpointAntiforgeryStateProvider>();
108services.TryAddScoped<IFormValueMapper, HttpContextFormValueMapper>();
110services.TryAddScoped<ClientValidationProvider, DataAnnotationsClientValidationProvider>();
Microsoft.AspNetCore.Components.Server (5)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (4)
Microsoft.AspNetCore.Components.WebView (5)
Microsoft.AspNetCore.Hosting (2)
Microsoft.AspNetCore.Identity (10)
IdentityServiceCollectionExtensions.cs (10)
94services.TryAddScoped<IUserValidator<TUser>, UserValidator<TUser>>();
95services.TryAddScoped<IPasswordValidator<TUser>, PasswordValidator<TUser>>();
96services.TryAddScoped<IPasswordHasher<TUser>, PasswordHasher<TUser>>();
97services.TryAddScoped<ILookupNormalizer, UpperInvariantLookupNormalizer>();
98services.TryAddScoped<IRoleValidator<TRole>, RoleValidator<TRole>>();
101services.TryAddScoped<ISecurityStampValidator, SecurityStampValidator<TUser>>();
103services.TryAddScoped<ITwoFactorSecurityStampValidator, TwoFactorSecurityStampValidator<TUser>>();
104services.TryAddScoped<IUserClaimsPrincipalFactory<TUser>, UserClaimsPrincipalFactory<TUser, TRole>>();
105services.TryAddScoped<IUserConfirmation<TUser>, DefaultUserConfirmation<TUser>>();
106services.TryAddScoped<IPasskeyHandler<TUser>, PasskeyHandler<TUser>>();
Microsoft.AspNetCore.Mvc.Razor (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Microsoft.Extensions.Identity.Core (6)