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