一,如下代码
protected override void OnActionExecuting(ActionExecutingContext filterContext) {string _controllerName = filterContext.RouteData.Values["controller"].ToString(); string _actionName = filterContext.RouteData.Values["action"].ToString(); object _routeName = filterContext.RouteData.DataTokens["area"]; }