Beispiel #1
0
        public bool Match(HttpContext httpContext, IRouter route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection)
        {
            if (values[routeKey] == null)
            {
                return(false);
            }

            var rv = values[routeKey].ToString();

            return(KeyValidator.ValidateKey(rv));
        }