2 references to AddService
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
UseMiddlewareTest.cs (2)
248sp.AddService(typeof(IMiddlewareFactory), new BadMiddlewareFactory()); 270sp.AddService(typeof(IMiddlewareFactory), middlewareFactory);