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