9 references to AddScoped
Microsoft.AspNetCore.Identity (3)
IdentityBuilderExtensions.cs (3)
44builder.Services.AddScoped(typeof(ISecurityStampValidator), typeof(SecurityStampValidator<>).MakeGenericType(builder.UserType)); 45builder.Services.AddScoped(typeof(ITwoFactorSecurityStampValidator), typeof(TwoFactorSecurityStampValidator<>).MakeGenericType(builder.UserType)); 83builder.Services.AddScoped(managerType, typeof(TSignInManager));
Microsoft.AspNetCore.SignalR.Tests (2)
AddSignalRTests.cs (2)
32serviceCollection.AddScoped(typeof(IHubActivator<>), typeof(CustomHubActivator<>)); 60serviceCollection.AddScoped(typeof(IHubActivator<>), typeof(CustomHubActivator<>));
Microsoft.Extensions.DependencyInjection.Abstractions (2)
ServiceCollectionServiceExtensions.cs (2)
216return services.AddScoped(typeof(TService), typeof(TImplementation)); 234return services.AddScoped(serviceType, serviceType);
Microsoft.Extensions.Identity.Core (2)
IdentityBuilder.cs (2)
77Services.AddScoped(serviceType, concreteType); 200Services.AddScoped(typeof(IUserClaimsPrincipalFactory<>).MakeGenericType(UserType), typeof(UserClaimsPrincipalFactory<,>).MakeGenericType(UserType, RoleType));