Click or drag to resize
RouteRegistration Methods

The RouteRegistration type exposes the following members.

Methods
  NameDescription
Public methodAdd

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).

Public methodExecute

Executes registration of routes collected via the Add(ActionRouteCollection) method into routeCollection.

Once the registration executes, no more routes can be added.

Top
See Also