C# Класс Castle.MonoRail.WindsorExtension.ControllerTreeAccessor

Bridge between the windsor controlled controller tree and the monorail service provider.
Наследование: IControllerTree
Показать файл Открыть проект

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

Метод Описание
AddController ( string areaName, string controllerName, Type controller ) : void

Register a controller on the tree. If the specified area name matches the current node, the controller is register on the node itself, otherwise on the right or on the left node.

Note that the controller is an object. That allows different implementation of a controller factory to register different representation of what a controller is (a name, a descriptor etc)

ControllerTreeAccessor ( ) : System

Construct the controller tree accessor

GetController ( string areaName, string controllerName ) : Type

Returns a controller previously registered.

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

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

Register a controller on the tree. If the specified area name matches the current node, the controller is register on the node itself, otherwise on the right or on the left node.
Note that the controller is an object. That allows different implementation of a controller factory to register different representation of what a controller is (a name, a descriptor etc)
public AddController ( string areaName, string controllerName, Type controller ) : void
areaName string The area name, or String.Empty
controllerName string The controller name
controller System.Type The controller representation
Результат void

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

Construct the controller tree accessor
public ControllerTreeAccessor ( ) : System
Результат System

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

Returns a controller previously registered.
public GetController ( string areaName, string controllerName ) : Type
areaName string The area name, or String.Empty
controllerName string The controller name
Результат System.Type