public bool Match(HttpContext httpContext, IRouter route, string routeKey, IDictionary<string, object> values, RouteDirection routeDirection) { string pathName = ""; RouteValueDictionary dict = (values as RouteValueDictionary); object o; dict.TryGetValue("path", out o); dict.TryGetValue("Path", out o); var result = values.Where(k => k.Key.Equals("path", StringComparison.OrdinalIgnoreCase)).SingleOrDefault().Value;
unable to get key while debugger shows the key and its value , how to get the key and value?
I have Match