9 references to CreateAsyncScope
Microsoft.AspNetCore.Components.Server.Tests (6)
Circuits\CircuitHostTest.cs (6)
420serviceScope: new ServiceCollection().BuildServiceProvider().CreateAsyncScope()); 442serviceScope: new ServiceCollection().BuildServiceProvider().CreateAsyncScope()); 468serviceScope: new ServiceCollection().BuildServiceProvider().CreateAsyncScope()); 495serviceScope: new ServiceCollection().BuildServiceProvider().CreateAsyncScope()); 533serviceScope: new ServiceCollection().BuildServiceProvider().CreateAsyncScope()); 570serviceScope: new ServiceCollection().BuildServiceProvider().CreateAsyncScope());
Microsoft.AspNetCore.Components.WebView (1)
WebViewManager.cs (1)
224var serviceScope = _provider.CreateAsyncScope();
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
764connection.ServiceScope = context.RequestServices.CreateAsyncScope();
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
TestingInfrastructureInheritanceTests.cs (1)
86using var scope = factory.Services.CreateAsyncScope();