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