Méthode | Description | |
---|---|---|
CastleControllerFactory ( IKernel kernel ) : System |
Initializes a new instance of the CastleControllerFactory class.
|
|
ReleaseController ( IController controller ) : void |
Releases the specified controller.
|
Méthode | Description | |
---|---|---|
GetControllerInstance ( System.Web.Routing.RequestContext requestContext, |
Retrieves the controller instance for the specified request context and controller type.
|
public CastleControllerFactory ( IKernel kernel ) : System | ||
kernel | IKernel | The kernel. |
Résultat | System |
protected GetControllerInstance ( System.Web.Routing.RequestContext requestContext, |
||
requestContext | System.Web.Routing.RequestContext | The context of the HTTP request, which includes the HTTP context and route data. |
controllerType | The type of the controller. | |
Résultat | IController |
public ReleaseController ( IController controller ) : void | ||
controller | IController | The controller to release. |
Résultat | void |