1 write to Subsegments
System.Web (1)
Routing\ContentPathSegment.cs (1)
8
Subsegments
= subsegments;
11 references to Subsegments
System.Web (11)
Routing\ContentPathSegment.cs (1)
14
return
Subsegments
.Any<PathSubsegment>(seg => (seg is ParameterSubsegment) && (((ParameterSubsegment)seg).IsCatchAll));
Routing\ParsedRoute.cs (10)
207
foreach (PathSubsegment subsegment in contentPathSegment.
Subsegments
) {
349
foreach (PathSubsegment subsegment in contentPathSegment.
Subsegments
) {
496
ParameterSubsegment catchAllSegment = contentPathSegment.
Subsegments
[0] as ParameterSubsegment;
513
if (routeSegment.
Subsegments
.Count > 1) {
517
ParameterSubsegment parameterSubsegment = routeSegment.
Subsegments
[0] as ParameterSubsegment;
539
int indexOfLastSegmentUsed = routeSegment.
Subsegments
.Count - 1;
547
ParameterSubsegment parameterSubsegment = routeSegment.
Subsegments
[indexOfLastSegmentUsed] as ParameterSubsegment;
553
LiteralSubsegment literalSubsegment = routeSegment.
Subsegments
[indexOfLastSegmentUsed] as LiteralSubsegment;
576
if (indexOfLastSegmentUsed == (routeSegment.
Subsegments
.Count - 1)) {
644
return (lastIndex == 0) || (routeSegment.
Subsegments
[0] is ParameterSubsegment);