C# Класс Rebel.Cms.Web.Mvc.Areas.RebelAreaRegistration

Responsible for registering the Rebel Area and all of it's affiliated routes
Наследование: System.Web.Mvc.AreaRegistration
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
RebelAreaRegistration ( IRebelApplicationContext applicationContext, ComponentRegistrations componentRegistrar ) : System

Constructor using a specific RebelSettings object

RegisterArea ( System.Web.Mvc.AreaRegistrationContext context ) : void

Creates the routes for the back office area

Приватные методы

Метод Описание
MapRouteBackOffice ( RouteCollection routes ) : void

The standard routes for the back office main pages

MapRouteEditors ( RouteCollection routes, IEnumerable editorControllers ) : void

Creates the routing rules for the editors

MapRouteSurfaceControllers ( RouteCollection routes, IEnumerable surfaceControllers ) : void

This maps locally declared (non-package) surface controllers so that they are routing through the Rebel back office path /Rebel (or what is defined in config)

MapRouteTrees ( RouteCollection routes, IEnumerable treeControllers ) : void

Create the routes to handle tree requests

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

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

Constructor using a specific RebelSettings object
public RebelAreaRegistration ( IRebelApplicationContext applicationContext, ComponentRegistrations componentRegistrar ) : System
applicationContext IRebelApplicationContext
componentRegistrar Rebel.Cms.Web.DependencyManagement.ComponentRegistrations
Результат System

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

Creates the routes for the back office area
public RegisterArea ( System.Web.Mvc.AreaRegistrationContext context ) : void
context System.Web.Mvc.AreaRegistrationContext
Результат void