Junior.Route.AspNetIntegration.ResponseGenerators.UnmatchedRestrictionsGenerator.RouteMatchedUrlRelativePath C# (CSharp) Method

RouteMatchedUrlRelativePath() private static method

private static RouteMatchedUrlRelativePath ( Junior.Route.Routing.MatchResult matchResult ) : bool
matchResult Junior.Route.Routing.MatchResult
return bool
        private static bool RouteMatchedUrlRelativePath(MatchResult matchResult)
        {
            return
                matchResult.MatchedRestrictions != null &&
                matchResult.MatchedRestrictions.Any(arg2 => arg2 is UrlRelativePathRestriction) &&
                matchResult.UnmatchedRestrictions.All(arg2 => !(arg2 is UrlRelativePathRestriction));
        }