37 references to CreateMatcher
Microsoft.AspNetCore.Routing.Tests (37)
Template\TemplateMatcherTests.cs (37)
14
var matcher =
CreateMatcher
("{controller}/{action}/{id}");
32
var matcher =
CreateMatcher
("{controller}/{action}/{id}");
47
var matcher =
CreateMatcher
("{controller}/{action}/{id}", new { id = "default id" });
65
var matcher =
CreateMatcher
("{controller}/{action}/{id}", new { id = "default id" });
80
var matcher =
CreateMatcher
("moo/{p1}/bar/{p2}", new { p2 = "default p2" });
97
var matcher =
CreateMatcher
("moo/{p1}/bar/{p2}", new { p2 = "default p2" });
120
var matcher =
CreateMatcher
(template);
153
var matcher =
CreateMatcher
(template);
188
var matcher =
CreateMatcher
(template);
226
var matcher =
CreateMatcher
(template);
241
var matcher =
CreateMatcher
("moo/bar");
257
var matcher =
CreateMatcher
("moo/bars");
272
var matcher =
CreateMatcher
("moo/bar");
288
var matcher =
CreateMatcher
("moo/bar/");
304
var matcher =
CreateMatcher
("{p1}/{p2}/");
321
var matcher =
CreateMatcher
("{p1}/{p2}/baz");
336
var matcher =
CreateMatcher
("{p1}");
351
var matcher =
CreateMatcher
("DEFAULT.ASPX");
373
var matcher =
CreateMatcher
(template);
388
var matcher =
CreateMatcher
("{p1}/{p2}", new { p2 = (string)null, foo = "bar" });
407
var matcher =
CreateMatcher
(
697
var matcher =
CreateMatcher
("{p1}/{*p2}");
715
var matcher =
CreateMatcher
("{p1}/{*p2}");
733
var matcher =
CreateMatcher
("{p1}/{*p2}");
751
var matcher =
CreateMatcher
("{p1}/{*p2}");
769
var matcher =
CreateMatcher
("{p1}/{*p2}", new { p2 = "catchall" });
787
var matcher =
CreateMatcher
("{p1}/{*p2}", new { p2 = "catchall" });
899
var route =
CreateMatcher
("{controller}/{action?}");
918
var route =
CreateMatcher
("{controller}/{action?}");
937
var route =
CreateMatcher
("{controller?}");
955
var route =
CreateMatcher
("");
972
var route =
CreateMatcher
("{controller}/{action?}/{id?}");
998
var route =
CreateMatcher
("{controller?}/{action?}/{id?}");
1021
var route =
CreateMatcher
("{controller?}/{action?}/{id?}");
1044
var route =
CreateMatcher
("{controller}/{action}/{id}");
1061
var route =
CreateMatcher
("{controller}/{action}/{*id}");
1078
var route =
CreateMatcher
("{controller}/{action}/{*id}");