1 write to ServiceScope
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
764
connection.
ServiceScope
= context.RequestServices.CreateAsyncScope();
3 references to ServiceScope
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionContext.cs (1)
288
ServiceScope
?.Dispose();
Internal\HttpConnectionDispatcher.cs (1)
765
newHttpContext.RequestServices = connection.
ServiceScope
.Value.ServiceProvider;
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
3089
Assert.Throws<ObjectDisposedException>(() => connection.
ServiceScope
.Value.ServiceProvider.GetService<MessageWrapper>());