Esempio n. 1
0
        public IDictionary <string, object> GetPathArgs(HttpContext httpContext)
        {
            var cache = httpContext.GetCache();
            var args  = cache["PathArgs"] as IDictionary <string, object>;

            if (args == null)
            {
                cache["PathArgs"] = args = UriUtil.ParsePath(PathTemplate, httpContext.Request.Path);
            }
            return(args);
        }