C# Class EasyMVC.Routing.ConventionRouting

Inheritance: IRouting
Mostra file Open project: hhariri/EasyMVC

Public Methods

Method Description
ConventionRouting ( RouteConventions routeConventions ) : System
GetRouteAction ( ActionInfo action ) : string
GetRouteConstraint ( ActionInfo action ) : HttpVerbs
GetRouteController ( ActionInfo action ) : string
GetRouteName ( ActionInfo action ) : string
GetRouteUrl ( ActionInfo action ) : string

Private Methods

Method Description
GetMappingByNameAndParameters ( ActionInfo action ) : RouteMapping

Method Details

ConventionRouting() public method

public ConventionRouting ( RouteConventions routeConventions ) : System
routeConventions RouteConventions
return System

GetRouteAction() public method

public GetRouteAction ( ActionInfo action ) : string
action EasyMVC.Infrastructure.ActionInfo
return string

GetRouteConstraint() public method

public GetRouteConstraint ( ActionInfo action ) : HttpVerbs
action EasyMVC.Infrastructure.ActionInfo
return HttpVerbs

GetRouteController() public method

public GetRouteController ( ActionInfo action ) : string
action EasyMVC.Infrastructure.ActionInfo
return string

GetRouteName() public method

public GetRouteName ( ActionInfo action ) : string
action EasyMVC.Infrastructure.ActionInfo
return string

GetRouteUrl() public method

public GetRouteUrl ( ActionInfo action ) : string
action EasyMVC.Infrastructure.ActionInfo
return string