C# Class Castle.MonoRail.WindsorExtension.ControllerTreeAccessor

Bridge between the windsor controlled controller tree and the monorail service provider.
Inheritance: IControllerTree
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
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.

Method Details

AddController() public méthode

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
Résultat void

ControllerTreeAccessor() public méthode

Construct the controller tree accessor
public ControllerTreeAccessor ( ) : System
Résultat System

GetController() public méthode

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
Résultat System.Type