C# 클래스 Castle.MonoRail.WindsorExtension.ControllerTreeAccessor

Bridge between the windsor controlled controller tree and the monorail service provider.
상속: IControllerTree
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

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