2 types derived from PathSubsegment
System.Web (2)
Routing\LiteralSubsegment.cs (1)
4
internal sealed class LiteralSubsegment :
PathSubsegment
{
Routing\ParameterSubsegment.cs (1)
4
internal sealed class ParameterSubsegment :
PathSubsegment
{
13 references to PathSubsegment
System.Web (13)
Routing\ContentPathSegment.cs (3)
7
public ContentPathSegment(IList<
PathSubsegment
> subsegments) {
14
return Subsegments.Any<
PathSubsegment
>(seg => (seg is ParameterSubsegment) && (((ParameterSubsegment)seg).IsCatchAll));
18
public IList<
PathSubsegment
> Subsegments {
Routing\ParsedRoute.cs (2)
207
foreach (
PathSubsegment
subsegment in contentPathSegment.Subsegments) {
349
foreach (
PathSubsegment
subsegment in contentPathSegment.Subsegments) {
Routing\RouteParser.cs (8)
93
private static IList<
PathSubsegment
> ParseUrlSegment(string segment, out Exception exception) {
96
List<
PathSubsegment
> pathSubsegments = new List<
PathSubsegment
>();
166
IList<
PathSubsegment
> subsegments = ParseUrlSegment(pathSegment, out exception);
249
IList<
PathSubsegment
> subsegments = ParseUrlSegment(pathSegment, out exception);
258
foundCatchAllParameter = subsegments.Any<
PathSubsegment
>(seg => (seg is ParameterSubsegment) && (((ParameterSubsegment)seg).IsCatchAll));
266
private static Exception ValidateUrlSegment(IList<
PathSubsegment
> pathSubsegments, HashSet<string> usedParameterNames, string pathSegment) {
271
foreach (
PathSubsegment
subsegment in pathSubsegments) {