C# Класс FLS.Sharepoint.MVC.Infrastructure.SPMvcAreaRegistrationContext

Provides a way to register one or more areas in an ASP.NET MVC application.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

MapRoute() публичный Метод

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.
Результат System.Web.Routing.Route

MapRoute() публичный Метод

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.
Результат System.Web.Routing.Route

MapRoute() публичный Метод

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.
Результат System.Web.Routing.Route

MapRoute() публичный Метод

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.
Результат System.Web.Routing.Route

MapRoute() публичный Метод

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.
Результат System.Web.Routing.Route

MapRoute() публичный Метод

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.
Результат System.Web.Routing.Route

SPMvcAreaRegistrationContext() публичный Метод

public SPMvcAreaRegistrationContext ( string webUrl, string areaName, RouteCollection routes, object state = null ) : System.Collections.Generic
webUrl string
areaName string
routes RouteCollection
state object
Результат System.Collections.Generic