C# 클래스 N2.Web.Mvc.ControllerMapper

상속: IControllerMapper
파일 보기 프로젝트 열기: Earthware/n2cms

Private Properties

프로퍼티 타입 설명
FindControllers IList
GetControllerFor IAdapterDescriptor

공개 메소드들

메소드 설명
ControllerHasAction ( string controllerName, string actionName ) : bool

Returns true if the given controller has the given action.

ControllerMapper ( ITypeFinder typeFinder, IDefinitionManager definitionManager ) : System
GetControllerName ( Type type ) : string

Gets the controller associated with a given content type.

IsContentController ( string controllerName ) : bool

Returns true if the given controller is a controller handling content items.

비공개 메소드들

메소드 설명
FindControllers ( ITypeFinder typeFinder ) : IList
GetControllerFor ( Type itemType, IList controllerDefinitions ) : IAdapterDescriptor

메소드 상세

ControllerHasAction() 공개 메소드

Returns true if the given controller has the given action.
public ControllerHasAction ( string controllerName, string actionName ) : bool
controllerName string The controller to check.
actionName string The action to verify.
리턴 bool

ControllerMapper() 공개 메소드

public ControllerMapper ( ITypeFinder typeFinder, IDefinitionManager definitionManager ) : System
typeFinder ITypeFinder
definitionManager IDefinitionManager
리턴 System

GetControllerName() 공개 메소드

Gets the controller associated with a given content type.
public GetControllerName ( Type type ) : string
type System.Type
리턴 string

IsContentController() 공개 메소드

Returns true if the given controller is a controller handling content items.
public IsContentController ( string controllerName ) : bool
controllerName string The controller to check.
리턴 bool