3 writes to Entry
Microsoft.AspNetCore.Routing (2)
RouteValuesAddressScheme.cs (1)
116
var outboundMatch = new OutboundMatch() {
Entry
= entry };
Tree\TreeRouter.cs (1)
95
var outboundMatch = new OutboundMatch() {
Entry
= entry, TemplateBinder = binder };
Microsoft.AspNetCore.Routing.Tests (1)
Tree\LinkGenerationDecisionTreeTest.cs (1)
744
match.
Entry
= new OutboundRouteEntry();
63 references to Entry
Microsoft.AspNetCore.Routing (18)
RouteValuesAddressScheme.cs (2)
49
return new[] { (RouteEndpoint)matchResults[0].Match.
Entry
.Data };
66
yield return (RouteEndpoint)matchResults[i].Match.
Entry
.Data;
Tree\LinkGenerationDecisionTree.cs (13)
43
foreach (var kvp in entry.
Entry
.RequiredLinkValues)
177
foreach (var kvp in item.
Entry
.RequiredLinkValues)
193
if (x.Match.
Entry
.Order != y.Match.
Entry
.Order)
195
return x.Match.
Entry
.Order.CompareTo(y.Match.
Entry
.Order);
198
if (x.Match.
Entry
.Precedence != y.Match.
Entry
.Precedence)
201
return y.Match.
Entry
.Precedence.CompareTo(x.Match.
Entry
.Precedence);
211
x.Match.
Entry
.RouteTemplate.TemplateText,
212
y.Match.
Entry
.RouteTemplate.TemplateText,
248
sb.AppendJoin(", ", node.Matches.Select(m => m.
Entry
.RouteTemplate.TemplateText));
Tree\TreeRouter.cs (3)
109
namedMatch.
Entry
.RouteTemplate.TemplateText,
160
var path = GenerateVirtualPath(context, matches[i].Match.
Entry
, matches[i].Match.TemplateBinder);
270
var path = GenerateVirtualPath(context, match.
Entry
, match.TemplateBinder);
Microsoft.AspNetCore.Routing.Tests (45)
RouteValuesAddressSchemeTest.cs (6)
88
var actual = Assert.IsType<RouteEndpoint>(match.
Entry
.Data);
131
actual = Assert.IsType<RouteEndpoint>(m.
Entry
.Data);
136
actual = Assert.IsType<RouteEndpoint>(m.
Entry
.Data);
141
actual = Assert.IsType<RouteEndpoint>(m.
Entry
.Data);
146
actual = Assert.IsType<RouteEndpoint>(m.
Entry
.Data);
412
Assert.Same(endpoint, Assert.Single(allMatches).
Entry
.Data);
Tree\LinkGenerationDecisionTreeTest.cs (39)
219
entry2.
Entry
.Order = 1;
245
entry2.
Entry
.Order = 1;
267
entry1.
Entry
.Precedence = 0;
271
entry2.
Entry
.Order = 1;
272
entry2.
Entry
.Precedence = 1;
294
entry1.
Entry
.Precedence = 1;
298
entry2.
Entry
.Precedence = 0;
320
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
324
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
345
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
349
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
373
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
377
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
401
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
405
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
429
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
433
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
456
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
460
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
484
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
488
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
512
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
516
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
539
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
543
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
566
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
570
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
591
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
595
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
616
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
620
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
643
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
647
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
670
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
674
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
695
entry1.
Entry
.RouteTemplate = TemplateParser.Parse("a");
699
entry2.
Entry
.RouteTemplate = TemplateParser.Parse("b");
745
match.
Entry
.RequiredLinkValues = new RouteValueDictionary(requiredValues);
749
match.
Entry
.RouteTemplate = new RouteTemplate(RoutePatternFactory.Parse(routeTemplate));