Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Page.GetController Method

Returns the controller stored by SetController.

[Visual Basic]
Protected Overridable Sub GetController()
[C#]
protected virtual object GetController();

Return Value

The controller for this page.

Remarks

The default implementation uses a field to retrieve the reference. Derived classes may override this behaviour but must ensure to also change the behaviour of SetController accordingly.

See Also

Page Class | Spring.Web.UI Namespace