11 references to AsyncServiceScope
Microsoft.AspNetCore.Components.Server.Tests (9)
Circuits\CircuitHostTest.cs (6)
31
serviceScope: new
AsyncServiceScope
(serviceScope.Object),
56
serviceScope: new
AsyncServiceScope
(serviceScope.Object),
80
serviceScope: new
AsyncServiceScope
(serviceScope.Object),
103
serviceScope: new
AsyncServiceScope
(serviceScope.Object),
133
serviceScope: new
AsyncServiceScope
(serviceScope.Object),
233
serviceScope: new
AsyncServiceScope
(serviceScope.Object),
Circuits\ComponentHubTest.cs (2)
160
serviceScope: new
AsyncServiceScope
(serviceScope.Object));
209
var circuitHost = TestCircuitHost.Create(serviceScope: new
AsyncServiceScope
(serviceScope.Object));
Circuits\TestCircuitHost.cs (1)
29
serviceScope = serviceScope ?? new
AsyncServiceScope
(Mock.Of<IServiceScope>());
Microsoft.Extensions.DependencyInjection.Abstractions (2)
ServiceProviderServiceExtensions.cs (2)
114
return new
AsyncServiceScope
(provider.CreateScope());
124
return new
AsyncServiceScope
(serviceScopeFactory.CreateScope());