C# Класс N2.Web.Mvc.ControllerMapper

Наследование: IControllerMapper
Показать файл Открыть проект

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