13 references to CreateScope
Microsoft.AspNetCore.DataProtection.EntityFrameworkCore (2)
EntityFrameworkCoreXmlRepository.cs (2)
48using (var scope = _services.CreateScope()) 68using (var scope = _services.CreateScope())
Microsoft.AspNetCore.Hosting (1)
Internal\ConfigureBuilder.cs (1)
26using (var scope = builder.ApplicationServices.CreateScope())
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateFactoryTests.cs (1)
1179using var requestScoped = services.CreateScope();
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (7)
UserStoreEncryptPersonalDataTest.cs (1)
194using (var scope = applicationServiceProvider.CreateScope())
UserStoreGuidKeyTest.cs (2)
64using (var csope = sp.CreateScope()) 81using (var csope = sp.CreateScope())
UserStoreIntKeyTest.cs (2)
42using (var csope = sp.CreateScope()) 59using (var csope = sp.CreateScope())
UserStoreStringKeyTest.cs (2)
43using (var csope = sp.CreateScope()) 60using (var csope = sp.CreateScope())
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Infrastructure\ServerFactory.cs (1)
75using (var scope = services.CreateScope())
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ServiceProviderServiceExtensions.cs (1)
114return new AsyncServiceScope(provider.CreateScope());