10 references to AsyncServiceScope
Microsoft.AspNetCore.Components.Server.Tests (8)
Circuits\CircuitHostTest.cs (6)
32serviceScope: new AsyncServiceScope(serviceScope.Object), 57serviceScope: new AsyncServiceScope(serviceScope.Object), 81serviceScope: new AsyncServiceScope(serviceScope.Object), 104serviceScope: new AsyncServiceScope(serviceScope.Object), 134serviceScope: new AsyncServiceScope(serviceScope.Object), 234serviceScope: new AsyncServiceScope(serviceScope.Object),
Circuits\ComponentHubTest.cs (1)
421serviceScope: new AsyncServiceScope(serviceScope.Object),
Circuits\TestCircuitHost.cs (1)
33serviceScope = serviceScope ?? new AsyncServiceScope(Mock.Of<IServiceScope>());
Microsoft.Extensions.DependencyInjection.Abstractions (2)
ServiceProviderServiceExtensions.cs (2)
114return new AsyncServiceScope(provider.CreateScope()); 124return new AsyncServiceScope(serviceScopeFactory.CreateScope());