C# Class FLS.Sharepoint.MVC.Infrastructure.SPMvcAreaRegistrationContext

Provides a way to register one or more areas in an ASP.NET MVC application.
Exibir arquivo Open project: ivankozyrev/fls-internal-portal Class Usage Examples

Public Methods

Method Description
MapRoute ( string name, string url ) : Route

Maps the specified URL route and associates it with the area that is specified by the P:System.Web.Mvc.AreaRegistrationContext.AreaName property.

MapRoute ( string name, string url, object defaults ) : Route

Maps the specified URL route and associates it with the area that is specified by the P:System.Web.Mvc.AreaRegistrationContext.AreaName property, using the specified route default values.

MapRoute ( string name, string url, object defaults, object constraints ) : Route

Maps the specified URL route and associates it with the area that is specified by the P:System.Web.Mvc.AreaRegistrationContext.AreaName property, using the specified route default values and constraint.

MapRoute ( string name, string url, object defaults, object constraints, string namespaces ) : Route

Maps the specified URL route and associates it with the area that is specified by the P:System.Web.Mvc.AreaRegistrationContext.AreaName property, using the specified route default values, constraints, and namespaces.

MapRoute ( string name, string url, object defaults, string namespaces ) : Route

Maps the specified URL route and associates it with the area that is specified by the P:System.Web.Mvc.AreaRegistrationContext.AreaName property, using the specified route default values and namespaces.

MapRoute ( string name, string url, string namespaces ) : Route

Maps the specified URL route and associates it with the area that is specified by the P:System.Web.Mvc.AreaRegistrationContext.AreaName property, using the specified namespaces.

SPMvcAreaRegistrationContext ( string webUrl, string areaName, RouteCollection routes, object state = null ) : System.Collections.Generic

Method Details

MapRoute() public method

Maps the specified URL route and associates it with the area that is specified by the P:System.Web.Mvc.AreaRegistrationContext.AreaName property.
The parameter is null.
public MapRoute ( string name, string url ) : Route
name string The name of the route.
url string The URL pattern for the route.
return System.Web.Routing.Route

MapRoute() public method

Maps the specified URL route and associates it with the area that is specified by the P:System.Web.Mvc.AreaRegistrationContext.AreaName property, using the specified route default values.
The parameter is null.
public MapRoute ( string name, string url, object defaults ) : Route
name string The name of the route.
url string The URL pattern for the route.
defaults object An object that contains default route values.
return System.Web.Routing.Route

MapRoute() public method

Maps the specified URL route and associates it with the area that is specified by the P:System.Web.Mvc.AreaRegistrationContext.AreaName property, using the specified route default values and constraint.
The parameter is null.
public MapRoute ( string name, string url, object defaults, object constraints ) : Route
name string The name of the route.
url string The URL pattern for the route.
defaults object An object that contains default route values.
constraints object A set of expressions that specify valid values for a URL parameter.
return System.Web.Routing.Route

MapRoute() public method

Maps the specified URL route and associates it with the area that is specified by the P:System.Web.Mvc.AreaRegistrationContext.AreaName property, using the specified route default values, constraints, and namespaces.
The parameter is null.
public MapRoute ( string name, string url, object defaults, object constraints, string namespaces ) : Route
name string The name of the route.
url string The URL pattern for the route.
defaults object An object that contains default route values.
constraints object A set of expressions that specify valid values for a URL parameter.
namespaces string An enumerable set of namespaces for the application.
return System.Web.Routing.Route

MapRoute() public method

Maps the specified URL route and associates it with the area that is specified by the P:System.Web.Mvc.AreaRegistrationContext.AreaName property, using the specified route default values and namespaces.
The parameter is null.
public MapRoute ( string name, string url, object defaults, string namespaces ) : Route
name string The name of the route.
url string The URL pattern for the route.
defaults object An object that contains default route values.
namespaces string An enumerable set of namespaces for the application.
return System.Web.Routing.Route

MapRoute() public method

Maps the specified URL route and associates it with the area that is specified by the P:System.Web.Mvc.AreaRegistrationContext.AreaName property, using the specified namespaces.
The parameter is null.
public MapRoute ( string name, string url, string namespaces ) : Route
name string The name of the route.
url string The URL pattern for the route.
namespaces string An enumerable set of namespaces for the application.
return System.Web.Routing.Route

SPMvcAreaRegistrationContext() public method

public SPMvcAreaRegistrationContext ( string webUrl, string areaName, RouteCollection routes, object state = null ) : System.Collections.Generic
webUrl string
areaName string
routes RouteCollection
state object
return System.Collections.Generic