示例#1
0
 public static string GetActionName(this RouteBase route)
 {
     return(route.GetDefaultValue("action"));
 }
示例#2
0
 public static string GetControllerName(this RouteBase route)
 {
     return(route.GetDefaultValue("controller"));
 }