5 references to UseRouter
Microsoft.AspNetCore.Mvc.Core (1)
Builder\MvcApplicationBuilderExtensions.cs (1)
88return app.UseRouter(routes.Build());
Microsoft.AspNetCore.Routing (1)
Builder\RoutingBuilderExtensions.cs (1)
59return builder.UseRouter(routeBuilder.Build());
Microsoft.AspNetCore.Routing.Tests (3)
Builder\RoutingBuilderExtensionsTest.cs (3)
26() => applicationBuilderMock.Object.UseRouter(router)); 42var ex = Assert.Throws<InvalidOperationException>(() => app.UseRouter(Mock.Of<IRouter>())); 83app.UseRouter(router.Object);