public static bool IsAjaxRequest(this HttpContext context) { var wrapper = new HttpContextWrapper(context); AggregateDictionary dictionary = AggregateDictionary.ForHttpContext(wrapper); return(new RequestData(dictionary).IsAjaxRequest()); }
public static bool IsAjaxRequest(this HttpContext context) { var wrapper = new HttpContextWrapper(context); AggregateDictionary dictionary = AggregateDictionary.ForHttpContext(wrapper); return(new RequestData(dictionary).IsAjaxRequest()); }