2 implementations of CreateScope
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\ServiceProviderEngineScope.cs (1)
81public IServiceScope CreateScope() => RootProvider.CreateScope();
Microsoft.Extensions.DependencyInjection.Abstractions (1)
EmptyServiceProvider.cs (1)
159public IServiceScope CreateScope() => this;
5 references to CreateScope
Microsoft.AspNetCore.Http (1)
Features\RequestServicesFeature.cs (1)
38_scope = _scopeFactory.CreateScope();
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
868using var scope = _serviceScopeFactory.CreateScope();
Microsoft.Extensions.DependencyInjection.Abstractions (2)
ServiceProviderServiceExtensions.cs (2)
104return provider.GetRequiredService<IServiceScopeFactory>().CreateScope(); 124return new AsyncServiceScope(serviceScopeFactory.CreateScope());
Microsoft.Extensions.Http (1)
DefaultHttpClientFactory.cs (1)
139scope = _scopeFactory.CreateScope();