6 references to AddScoped
Microsoft.AspNetCore.Identity (1)
IdentityBuilderExtensions.cs (1)
82
builder.Services.
AddScoped
(typeof(TSignInManager), services => services.GetRequiredService(managerType));
Microsoft.Extensions.DependencyInjection.Abstractions (3)
Extensions\ServiceCollectionDescriptorExtensions.cs (1)
259
/// <seealso cref="ServiceCollectionServiceExtensions.
AddScoped
(IServiceCollection, Type, Func{IServiceProvider, object})"/>
ServiceCollectionServiceExtensions.cs (2)
336
return services.
AddScoped
(typeof(TService), implementationFactory);
365
return services.
AddScoped
(typeof(TService), implementationFactory);
Microsoft.Extensions.Identity.Core (2)
IdentityBuilder.cs (2)
184
Services.
AddScoped
(customType, services => services.GetRequiredService(userManagerType));
270
Services.
AddScoped
(typeof(TRoleManager), services => services.GetRequiredService(managerType));