1 write to Matches
Microsoft.AspNetCore.Routing (1)
DecisionTree\DecisionTreeBuilder.cs (1)
192Matches = matches,
17 references to Matches
Microsoft.AspNetCore.Routing (3)
Tree\LinkGenerationDecisionTree.cs (3)
70if (_root.Matches.Count > 0 || _root.Criteria.Count > 0 || _conventionalEntries.Count > 0) 116var matches = node.Matches; 248sb.AppendJoin(", ", node.Matches.Select(m => m.Entry.RouteTemplate.TemplateText));
Microsoft.AspNetCore.Routing.Tests (14)
DecisionTreeBuilderTest.cs (14)
19Assert.Empty(tree.Matches); 36Assert.Same(item, Assert.Single(tree.Matches)); 55Assert.Empty(tree.Matches); 62Assert.Empty(admin.Value.Matches); 69Assert.Empty(users.Value.Matches); 77Assert.Same(item, Assert.Single(addUser.Value.Matches)); 100Assert.Empty(tree.Matches); 106Assert.Empty(buy.Matches); 114Assert.Same(item1, Assert.Single(store.Value.Matches)); 117Assert.Empty(checkout.Matches); 125Assert.Same(item2, Assert.Single(store.Value.Matches)); 152Assert.Empty(tree.Matches); 158Assert.Same(item3, Assert.Single(buy.Matches)); 185Assert.Empty(tree.Matches);