17 references to IsCatchAll
Microsoft.AspNetCore.Components (15)
Routing\RouteTable.cs (1)
110
else if (parameter.ParameterPolicies.Count > 0 && !parameter.
IsCatchAll
)
src\Http\Routing\src\Patterns\RoutePatternMatcher.cs (4)
93
else if (pathSegment.IsSimple && pathSegment.Parts[0] is RoutePatternParameterPart parameter && parameter.
IsCatchAll
)
128
if (parameter.
IsCatchAll
)
175
if (part is RoutePatternParameterPart parameter && (parameter.
IsCatchAll
|| _hasDefaultValue[i]))
249
if (pathSegment.IsSimple && pathSegment.Parts[0] is RoutePatternParameterPart parameter && parameter.
IsCatchAll
)
src\Http\Routing\src\Patterns\RoutePatternParameterPart.cs (1)
88
if (
IsCatchAll
)
src\Http\Routing\src\Patterns\RoutePatternParser.cs (2)
326
&& parameter.
IsCatchAll
&&
344
if (part is RoutePatternParameterPart parameter && parameter.
IsCatchAll
&& parts.Count > 1)
src\Http\Routing\src\Template\RoutePrecedence.cs (2)
192
var digit = parameterPart.
IsCatchAll
? 1 : 3;
272
var digit = parameterPart.
IsCatchAll
? 5 : 3;
src\Http\Routing\src\Tree\UrlMatchingTree.cs (5)
185
if (parameterPart.ParameterPolicies.Count > 0 && !parameterPart.
IsCatchAll
)
196
if (!parameterPart.
IsCatchAll
)
207
if (parameterPart.ParameterPolicies.Count > 0 && parameterPart.
IsCatchAll
)
218
if (parameterPart.
IsCatchAll
)
274
parameterPart.
IsCatchAll
||
Microsoft.AspNetCore.Components.Tests (2)
Routing\TemplateParserTests.cs (2)
313
xParameterPart.
IsCatchAll
== yParameterPart.
IsCatchAll
,