35 references to MapInboundEntry
Microsoft.AspNetCore.Routing.Tests (35)
Tree\TreeRouterTest.cs (35)
45MapInboundEntry(builder, secondTemplate);
46MapInboundEntry(builder, firstTemplate);
106MapInboundEntry(builder, template);
153MapInboundEntry(builder, template);
205MapInboundEntry(builder, template);
248MapInboundEntry(builder, template);
275MapInboundEntry(builder, "a/b/{parameter3=3}/d");
298MapInboundEntry(builder, template);
319MapInboundEntry(builder, template);
346MapInboundEntry(builder, template);
383MapInboundEntry(builder, firstTemplate, order: 1);
384MapInboundEntry(builder, secondTemplate, order: 0);
409MapInboundEntry(builder, "{controller?}/{action?}/{id?}");
436MapInboundEntry(builder, "{controller?}/{action?}/{id?}");
463MapInboundEntry(builder, "{controller}/{action}/{id}");
484MapInboundEntry(builder, "{controller}/{action}/{*id}");
505MapInboundEntry(builder, "{controller}/{action}/{*id}");
531MapInboundEntry(builder, template);
553MapInboundEntry(builder, template);
575MapInboundEntry(builder, template);
598MapInboundEntry(builder, template);
627MapInboundEntry(builder, template, order: 1);
628MapInboundEntry(builder, template, order: 0);
655MapInboundEntry(builder, first);
656MapInboundEntry(builder, second);
683MapInboundEntry(builder, template);
733MapInboundEntry(builder, template);
778MapInboundEntry(builder, template);
1700MapInboundEntry(builder, "Foo/{*path}");
1720MapInboundEntry(builder, "Foo/{*path}");
1754MapInboundEntry(builder, "api/Store", handler: next.Object);
1791MapInboundEntry(builder, "api/Store", handler: next.Object);
1835MapInboundEntry(builder, "api/Store", handler: next.Object);
1880MapInboundEntry(builder, "cat_{category1}/prod1_{product}"); // Matches on first segment but not on second
1881MapInboundEntry(builder, "cat_{category2}/prod2_{product}", handler: next.Object);