public static string GetAreaName(RouteData routeData) { if (routeData.IsNull()) return string.Empty; object area; if (routeData.DataTokens.TryGetValue("area", out area)) { return area as string; } return GetAreaName(routeData.Route); }
public static string GetAreaName(RouteData routeData) { if (routeData.IsNull()) return string.Empty; object area; if (routeData.DataTokens.TryGetValue("area", out area)) { return area as string; } return GetAreaName(routeData.Route); }