2 references to MapMiddleware
Microsoft.AspNetCore.Http.Abstractions (1)
Extensions\MapExtensions.cs (1)
70
return app.Use(next => new
MapMiddleware
(next, options).Invoke);
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
MapPathMiddlewareTests.cs (1)
42
Assert.Throws<ArgumentNullException>(() => new
MapMiddleware
(noMiddleware, null!));