private static bool RouteMatchedUrlRelativePath(MatchResult matchResult)
 {
     return
         matchResult.MatchedRestrictions != null &&
         matchResult.MatchedRestrictions.Any(arg2 => arg2 is UrlRelativePathRestriction) &&
         matchResult.UnmatchedRestrictions.All(arg2 => !(arg2 is UrlRelativePathRestriction));
 }
Example #2
0
 private static bool RouteMatchedUrlRelativePath(MatchResult matchResult)
 {
     return
         (matchResult.MatchedRestrictions != null &&
          matchResult.MatchedRestrictions.Any(arg2 => arg2 is UrlRelativePathRestriction) &&
          matchResult.UnmatchedRestrictions.All(arg2 => !(arg2 is UrlRelativePathRestriction)));
 }