23 references to RoutePrecedence
Microsoft.AspNetCore.Mvc.Core.Test (9)
Routing\AttributeRouteTest.cs (9)
148
Assert.Equal(
RoutePrecedence
.ComputeOutbound(e.RouteTemplate), e.Precedence);
192
Assert.Equal(
RoutePrecedence
.ComputeOutbound(e.RouteTemplate), e.Precedence);
236
Assert.Equal(
RoutePrecedence
.ComputeOutbound(e.RouteTemplate), e.Precedence);
297
Assert.Equal(
RoutePrecedence
.ComputeOutbound(e.RouteTemplate), e.Precedence);
307
Assert.Equal(
RoutePrecedence
.ComputeOutbound(e.RouteTemplate), e.Precedence);
351
Assert.Equal(
RoutePrecedence
.ComputeInbound(e.RouteTemplate), e.Precedence);
394
Assert.Equal(
RoutePrecedence
.ComputeInbound(e.RouteTemplate), e.Precedence);
437
Assert.Equal(
RoutePrecedence
.ComputeInbound(e.RouteTemplate), e.Precedence);
499
Assert.Equal(
RoutePrecedence
.ComputeInbound(e.RouteTemplate), e.Precedence);
Microsoft.AspNetCore.Routing (6)
Matching\DfaMatcherBuilder.cs (1)
541
return
RoutePrecedence
.ComputeInboundPrecedenceDigit(endpoint.RoutePattern, segment);
Patterns\RoutePattern.cs (2)
61
InboundPrecedence =
RoutePrecedence
.ComputeInbound(this);
62
OutboundPrecedence =
RoutePrecedence
.ComputeOutbound(this);
RouteValuesAddressScheme.cs (1)
155
Precedence =
RoutePrecedence
.ComputeOutbound(endpoint.RoutePattern),
Tree\TreeRouteBuilder.cs (2)
100
Precedence =
RoutePrecedence
.ComputeInbound(routeTemplate),
194
Precedence =
RoutePrecedence
.ComputeOutbound(routeTemplate),
Microsoft.AspNetCore.Routing.Tests (4)
Template\RoutePatternPrecedenceTests.cs (2)
12
return ComputeRoutePattern(template,
RoutePrecedence
.ComputeInbound);
17
return ComputeRoutePattern(template,
RoutePrecedence
.ComputeOutbound);
Template\RouteTemplatePrecedenceTests.cs (2)
10
return ComputeRouteTemplate(template,
RoutePrecedence
.ComputeInbound);
15
return ComputeRouteTemplate(template,
RoutePrecedence
.ComputeOutbound);
Swaggatherer (4)
SwaggathererApplication.cs (4)
86
var precedence =
RoutePrecedence
.ComputeInbound(entries[i].Template);
162
Precedence =
RoutePrecedence
.ComputeInbound(parsed),
224
var comparison =
RoutePrecedence
.ComputeInbound(x.Template).CompareTo(
RoutePrecedence
.ComputeInbound(y.Template));