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