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