C# 클래스 Rebel.Cms.Web.Mvc.Areas.RebelAreaRegistration

Responsible for registering the Rebel Area and all of it's affiliated routes
상속: System.Web.Mvc.AreaRegistration
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5 1 사용 예제들

공개 메소드들

메소드 설명
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