CompareCloudware.Web/FluentSecurity/Extensions.cs
/// <summary>
/// Gets the area name of the route
/// </summary>
/// <param name="routeData">Route data</param>
/// <returns>The name of the are</returns>
Gets the area name of the route
Gets the area name of the route
public static string GetAreaName(this RouteData routeData)
        {
            object value;
            if (routeData.DataTokens.TryGetValue("area", out value))
            {
                return (value as string);
            }
            return GetAreaName(routeData.Route);
        }
public static string GetAreaName ( this RouteData routeData ) { object value ; if ( routeData . DataTokens . TryGetValue ( " " , out value ) ) { return ( value as string ) ; } return GetAreaName ( routeData . Route ) ; }
Gets the area name of the route
Gets the area name of the route
The name of the are
The name of the are
RouteData
this
routeData
None