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