1 write to Match
Microsoft.AspNetCore.Routing (1)
Tree\OutboundMatchResult.cs (1)
10Match = match;
48 references to Match
Microsoft.AspNetCore.Routing (14)
RouteValuesAddressScheme.cs (2)
49return new[] { (RouteEndpoint)matchResults[0].Match.Entry.Data }; 66yield return (RouteEndpoint)matchResults[i].Match.Entry.Data;
Tree\LinkGenerationDecisionTree.cs (10)
193if (x.Match.Entry.Order != y.Match.Entry.Order) 195return x.Match.Entry.Order.CompareTo(y.Match.Entry.Order); 198if (x.Match.Entry.Precedence != y.Match.Entry.Precedence) 201return y.Match.Entry.Precedence.CompareTo(x.Match.Entry.Precedence); 211x.Match.Entry.RouteTemplate.TemplateText, 212y.Match.Entry.RouteTemplate.TemplateText,
Tree\TreeRouter.cs (2)
160var path = GenerateVirtualPath(context, matches[i].Match.Entry, matches[i].Match.TemplateBinder);
Microsoft.AspNetCore.Routing.Tests (34)
RouteValuesAddressSchemeTest.cs (8)
27var actual = Assert.IsType<RouteEndpoint>(namedMatch.Match.Entry.Data); 47Assert.Same(endpoint2, Assert.IsType<RouteEndpoint>(namedMatches[0].Match.Entry.Data)); 48Assert.Same(endpoint3, Assert.IsType<RouteEndpoint>(namedMatches[1].Match.Entry.Data)); 67Assert.Same(endpoint2, Assert.IsType<RouteEndpoint>(namedMatches[0].Match.Entry.Data)); 68Assert.Same(endpoint3, Assert.IsType<RouteEndpoint>(namedMatches[1].Match.Entry.Data)); 353var namedMatch = Assert.Single(namedMatches).Match; 376var namedMatch = Assert.Single(namedMatches).Match; 459(acc, kvp) => acc.Concat(kvp.Value.Select(matchResult => matchResult.Match)));
Tree\LinkGenerationDecisionTreeTest.cs (26)
29Assert.Same(entry, Assert.Single(matches).Match); 49Assert.Same(entry, Assert.Single(matches).Match); 69Assert.Same(entry, Assert.Single(matches).Match); 90Assert.Same(entry, match.Match); 114Assert.Same(entry, match.Match); 138Assert.Same(entry, match.Match); 206Assert.Same(entry1, Assert.Single(matches).Match); 229var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 253var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 280var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 306var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 332var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 357var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 385var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 413var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 441var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 468var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 496var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 524var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 551var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 578var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 603var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 628var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 655var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 682var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList(); 707var matches = tree.GetMatches(context.Values, context.AmbientValues).Select(m => m.Match).ToList();