RouteCollectionExtensions RouteCollectionExtensions RouteCollectionExtensions Class

Definition

Extends a RouteCollection object for MVC routing.

public static class RouteCollectionExtensions
type RouteCollectionExtensions = class
Public Module RouteCollectionExtensions
Inheritance
RouteCollectionExtensionsRouteCollectionExtensionsRouteCollectionExtensions

Methods

GetVirtualPathForArea(RouteCollection, RequestContext, RouteValueDictionary) GetVirtualPathForArea(RouteCollection, RequestContext, RouteValueDictionary) GetVirtualPathForArea(RouteCollection, RequestContext, RouteValueDictionary)

Returns an object that contains information about the route and virtual path that are the result of generating a URL in the current area.

GetVirtualPathForArea(RouteCollection, RequestContext, String, RouteValueDictionary) GetVirtualPathForArea(RouteCollection, RequestContext, String, RouteValueDictionary) GetVirtualPathForArea(RouteCollection, RequestContext, String, RouteValueDictionary)

Returns an object that contains information about the route and virtual path that are the result of generating a URL in the current area.

IgnoreRoute(RouteCollection, String) IgnoreRoute(RouteCollection, String) IgnoreRoute(RouteCollection, String)

Ignores the specified URL route for the given list of available routes.

IgnoreRoute(RouteCollection, String, Object) IgnoreRoute(RouteCollection, String, Object) IgnoreRoute(RouteCollection, String, Object)

Ignores the specified URL route for the given list of the available routes and a list of constraints.

MapRoute(RouteCollection, String, String) MapRoute(RouteCollection, String, String) MapRoute(RouteCollection, String, String)

Maps the specified URL route.

MapRoute(RouteCollection, String, String, Object) MapRoute(RouteCollection, String, String, Object) MapRoute(RouteCollection, String, String, Object)

Maps the specified URL route and sets default route values.

MapRoute(RouteCollection, String, String, String[]) MapRoute(RouteCollection, String, String, String[]) MapRoute(RouteCollection, String, String, String[])

Maps the specified URL route and sets the namespaces.

MapRoute(RouteCollection, String, String, Object, Object) MapRoute(RouteCollection, String, String, Object, Object) MapRoute(RouteCollection, String, String, Object, Object)

Maps the specified URL route and sets default route values and constraints.

MapRoute(RouteCollection, String, String, Object, String[]) MapRoute(RouteCollection, String, String, Object, String[]) MapRoute(RouteCollection, String, String, Object, String[])

Maps the specified URL route and sets default route values and namespaces.

MapRoute(RouteCollection, String, String, Object, Object, String[]) MapRoute(RouteCollection, String, String, Object, Object, String[]) MapRoute(RouteCollection, String, String, Object, Object, String[])

Maps the specified URL route and sets default route values, constraints, and namespaces.

Applies to