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