17 references to IsParameter
Microsoft.AspNetCore.Mvc.Core (1)
Routing\RoutePatternWriter.cs (1)
34
if (part.
IsParameter
&& part is RoutePatternParameterPart parameterPart)
Microsoft.AspNetCore.Routing (14)
Patterns\RoutePatternFactory.cs (1)
573
if (!part.
IsParameter
)
Patterns\RoutePatternMatcher.cs (9)
45
if (!part.
IsParameter
)
172
Debug.Assert(part.
IsParameter
);
204
if (pathSegment.IsSimple && !pathSegment.Parts[0].
IsParameter
)
226
else if (pathSegment.IsSimple && pathSegment.Parts[0].
IsParameter
)
266
else if (pathSegment.IsSimple && pathSegment.Parts[0].
IsParameter
)
354
if (part.
IsParameter
)
418
(((lastLiteral != null) && !part.
IsParameter
) || (indexOfLastSegmentUsed == 0)))
441
if ((indexOfLastSegmentUsed == 0) && (part.
IsParameter
))
491
if (lastIndex == 0 || routeSegment.Parts[0].
IsParameter
)
Patterns\RoutePatternParser.cs (2)
414
if (part.
IsParameter
&& isLastSegmentParameter)
420
isLastSegmentParameter = part.
IsParameter
;
Template\TemplatePart.cs (2)
31
IsParameter = other.
IsParameter
;
37
else if (other.
IsParameter
&& other is RoutePatternParameterPart parameter)
Microsoft.AspNetCore.Routing.Tests (2)
Patterns\RoutePatternParserTest.cs (2)
708
else if (x.
IsParameter
&& y.
IsParameter
)