C# Class mobSocial.WebApi.Configuration.Mvc.UI.Extensions.UrlHelperExtensions

Mostra file Open project: mobsoftware/mobsocial

Public Methods

Method Description
RouteAppUrl ( this urlHelper, string routeName ) : string
RouteAppUrl ( this urlHelper, string routeName, dynamic routeValues ) : string

Retrieves a particular routeurl from the global route table. Because the app is running inside OWIN host, we need to query route from the global routetable instead of route from OWIN configuration

Method Details

RouteAppUrl() public static method

public static RouteAppUrl ( this urlHelper, string routeName ) : string
urlHelper this
routeName string
return string

RouteAppUrl() public static method

Retrieves a particular routeurl from the global route table. Because the app is running inside OWIN host, we need to query route from the global routetable instead of route from OWIN configuration
public static RouteAppUrl ( this urlHelper, string routeName, dynamic routeValues ) : string
urlHelper this
routeName string
routeValues dynamic
return string