1 instantiation of AsyncServiceScope
Microsoft.AspNetCore.Http.Tests (1)
DefaultHttpContextTests.cs (1)
538
var scope = new
AsyncServiceScope
(_serviceProvider.GetService<IServiceScopeFactory>().CreateScope());
4 references to AsyncServiceScope
Microsoft.AspNetCore.Http.Tests (4)
DefaultHttpContextTests.cs (4)
255
var
scope = Assert.Single(serviceProvider.Scopes);
519
public List<
AsyncServiceScope
> Scopes { get; } = new List<
AsyncServiceScope
>();
538
var
scope = new AsyncServiceScope(_serviceProvider.GetService<IServiceScopeFactory>().CreateScope());