40 references to TryMatch
Microsoft.AspNetCore.Routing (2)
DefaultLinkParser.cs (1)
124if (!matcher.TryMatch(path, values))
Template\TemplateMatcher.cs (1)
85return _routePatternMatcher.TryMatch(path, values);
Microsoft.AspNetCore.Routing.Tests (38)
Patterns\RoutePatternMatcherTest.cs (38)
20var match = matcher.TryMatch("/Bank/DoAction/123", values); 38var match = matcher.TryMatch("/Bank/DoAction", values); 53var match = matcher.TryMatch("/Bank/DoAction", values); 71var match = matcher.TryMatch("/Bank", values); 86var match = matcher.TryMatch("/moo/111/bar/222", values); 103var match = matcher.TryMatch("/moo/111/bar/", values); 126var match = matcher.TryMatch(path, values); 159var match = matcher.TryMatch(path, values); 194var match = matcher.TryMatch(path, values); 232var match = matcher.TryMatch(path, values); 247var match = matcher.TryMatch("/moo/bar", values); 263var match = matcher.TryMatch("/moo/bar", values); 278var match = matcher.TryMatch("/moo/bar/", values); 294var match = matcher.TryMatch("/moo/bar", values); 310var match = matcher.TryMatch("/moo/bar", values); 327var match = matcher.TryMatch("/moo/bar/boo", values); 342var match = matcher.TryMatch("/moo/bar", values); 357var match = matcher.TryMatch("/default.aspx", values); 379var match = matcher.TryMatch(path, values); 394var match = matcher.TryMatch("/v1", values); 415var match = matcher.TryMatch("/date/2007/08", values); 703var match = matcher.TryMatch("/v1/v2/v3", values); 721var match = matcher.TryMatch("/v1/", values); 739var match = matcher.TryMatch("/v1", values); 757var match = matcher.TryMatch("/v1", values); 775var match = matcher.TryMatch("/v1", values); 793var match = matcher.TryMatch("/v1/hello/whatever", values); 906var match = route.TryMatch(url, values); 925var match = route.TryMatch(url, values); 944var match = route.TryMatch(url, values); 962var match = route.TryMatch(url, values); 979var match = route.TryMatch(url, values); 1004var match = route.TryMatch(url, values); 1027var match = route.TryMatch(url, values); 1050var match = route.TryMatch(url, values); 1067var match = route.TryMatch(url, values); 1084var match = route.TryMatch(url, values); 1111var match = matcher.TryMatch(new PathString(path), values);