Implemented interface member:
method
Add
Microsoft.AspNetCore.Routing.IRouteCollection.Add(Microsoft.AspNetCore.Routing.IRouter)
34 references to Add
Microsoft.AspNetCore.Routing (1)
RouteBuilder.cs (1)
69routeCollection.Add(route);
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
src\Http\Routing\test\UnitTests\Matching\RouteMatcherBuilder.cs (1)
62routes.Add(new Route(
Microsoft.AspNetCore.Routing.Tests (32)
Matching\RouteMatcherBuilder.cs (1)
62routes.Add(new Route(
RouteCollectionTest.cs (31)
42routeCollection.Add(target.Object); 73routeCollection.Add(target.Object); 107routeCollection.Add(target.Object); 139routeCollection.Add(route); 167routes.Add(route1.Object); 170routes.Add(route2.Object); 193routes.Add(route1.Object); 196routes.Add(route2.Object); 218routes.Add(route1.Object); 221routes.Add(route2.Object); 278routeCollection.Add(CreateNamedRoute("Route3")); 299routeCollection.Add(CreateNamedRoute(ambiguousRoute)); 316routeCollection.Add(namedRoute); 319innerRouteCollection.Add(namedRoute); 320routeCollection.Add(innerRouteCollection); 386routeCollection.Add(route); 440routeCollection.Add(route); 462routeCollection.Add(route1.Object); 463routeCollection.Add(route2.Object); 464routeCollection.Add(route3.Object); 500routes.Add(route1); 517rc1.Add(rc3); 518rc4.Add(rc2); 521rc1.Add(CreateRoute(accept: false).Object); 522rc2.Add(CreateRoute(accept: false).Object); 523rc3.Add(CreateRoute(accept: false).Object); 524rc3.Add(CreateRoute(accept: false).Object); 525rc4.Add(CreateRoute(accept: false).Object); 526rc4.Add(CreateRoute(accept: false).Object); 529routeCollection.Add(rc1); 530routeCollection.Add(rc4);