RouteRegistration Class |
Namespace: Kentico.Web.Mvc.Internal
public class RouteRegistration
The RouteRegistration type exposes the following members.
Name | Description | |
---|---|---|
Add | Adds route registration to be executed on route collection supplied in Execute(RouteCollection) call. Route registrations are queued and performed on the route collection passed to the Execute(RouteCollection) method, once the method is called. After being executed, no additional route registrations can be added (i.e. route registration execution must not precede 'use feature' methods calls so that features can add their specific routes). | |
Execute | Executes registration of routes collected via the Add(ActionRouteCollection) method into routeCollection. Once the registration executes, no more routes can be added. |