C# Class UCosmic.Www.Mvc.Controllers.RouteRegistration

Exibir arquivo Open project: ucosmic/UCosmicPreview

Public Methods

Method Description
CreateDataTokens ( string area, Type areaRegistrationType ) : RouteValueDictionary
CreateDataTokens ( string area, string namespaces ) : RouteValueDictionary
CreateRouteHandler ( bool stopRoutingHandler = false ) : IRouteHandler
RegisterRoutes ( RouteCollection routes ) : void

Private Methods

Method Description
Add ( this dictionary, Route route ) : void
Construct ( this routeClass ) : Route
GetRouteClasses ( this assemblies ) : IEnumerable

Method Details

CreateDataTokens() public static method

public static CreateDataTokens ( string area, Type areaRegistrationType ) : RouteValueDictionary
area string
areaRegistrationType System.Type
return RouteValueDictionary

CreateDataTokens() public static method

public static CreateDataTokens ( string area, string namespaces ) : RouteValueDictionary
area string
namespaces string
return RouteValueDictionary

CreateRouteHandler() public static method

public static CreateRouteHandler ( bool stopRoutingHandler = false ) : IRouteHandler
stopRoutingHandler bool
return IRouteHandler

RegisterRoutes() public static method

public static RegisterRoutes ( RouteCollection routes ) : void
routes RouteCollection
return void