• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Interface IMapRoute

Namespace: DotNetNuke.Web.Mvc.Routing
Assembly: DotNetNuke.Web.Mvc.dll
Syntax
public interface IMapRoute

Methods

| Improve this Doc View Source

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

Sets up the route(s) for DotNetNuke MVC Controls.

Declaration
Route MapRoute(string moduleFolderName, string routeName, string url, object defaults, object constraints, string[] namespaces)
Parameters
Type Name Description
System.String moduleFolderName

The name of the folder under DesktopModules in which your module resides.

System.String routeName

A unique name for the route.

System.String url

The parameterized portion of the route.

System.Object defaults

Default values for the route parameters.

System.Object constraints

The constraints.

System.String[] namespaces

The namespace(s) in which to search for the controllers for this route.

Returns
Type Description
Route

A list of all routes that were registered.

Remarks

The combination of moduleFolderName and routeName must be unique for each route.

| Improve this Doc View Source

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

Sets up the route(s) for DotNetNuke MVC Controls.

Declaration
Route MapRoute(string moduleFolderName, string routeName, string url, object defaults, string[] namespaces)
Parameters
Type Name Description
System.String moduleFolderName

The name of the folder under DesktopModules in which your module resides.

System.String routeName

A unique name for the route.

System.String url

The parameterized portion of the route.

System.Object defaults

Default values for the route parameters.

System.String[] namespaces

The namespace(s) in which to search for the controllers for this route.

Returns
Type Description
Route

A list of all routes that were registered.

Remarks

The combination of moduleFolderName and routeName must be unique for each route.

| Improve this Doc View Source

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

Sets up the route(s) for DotNetNuke MVC Controls.

Declaration
Route MapRoute(string moduleFolderName, string routeName, string url, string[] namespaces)
Parameters
Type Name Description
System.String moduleFolderName

The name of the folder under DesktopModules in which your module resides.

System.String routeName

A unique name for the route.

System.String url

The parameterized portion of the route.

System.String[] namespaces

The namespace(s) in which to search for the controllers for this route.

Returns
Type Description
Route

A list of all routes that were registered.

Remarks

The combination of moduleFolderName and routeName must be unique for each route.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS