1 write to Matches
Microsoft.AspNetCore.Routing (1)
Tree\UrlMatchingNode.cs (1)
30Matches = new List<InboundMatch>();
20 references to Matches
Microsoft.AspNetCore.Routing (7)
Tree\TreeEnumerator.cs (2)
48if (next.IsCatchAll && next.Matches.Count > 0) 58if (next.Matches.Count > 0)
Tree\TreeRouter.cs (1)
190foreach (var item in node.Matches)
Tree\UrlMatchingNode.cs (1)
84return $"Length: {Depth}, Matches: {string.Join(" | ", Matches?.Select(m => $"({m.TemplateMatcher.Template.TemplateText})"))}";
Tree\UrlMatchingTree.cs (3)
135current.Matches.Add(new InboundMatch() { Entry = entry, TemplateMatcher = matcher }); 234current.Matches.Add(new InboundMatch() { Entry = entry, TemplateMatcher = matcher }); 235current.Matches.Sort((x, y) =>
Microsoft.AspNetCore.Routing.Tests (13)
Tree\TreeRouteBuilderTest.cs (13)
94Assert.Empty(secondSegment.Matches); 98Assert.Single(thirdSegment.Value.Matches); 126Assert.Empty(secondSegment.Matches); 130Assert.Empty(thirdSegment.Value.Matches); 134Assert.Empty(fourthSegment.Matches); 138Assert.Single(fifthSegment.Value.Matches); 142Assert.Single(sixthSegment.Matches); 170Assert.Empty(secondSegment.Matches); 174Assert.Single(thirdSegment.Value.Matches); 202Assert.Empty(secondSegment.Matches); 206Assert.Single(thirdSegment.Value.Matches); 234Assert.Empty(secondSegment.Matches); 238Assert.Single(thirdSegment.Value.Matches);