Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Page.SetController Method

Stores the controller to be returned by Controller property.

[Visual Basic]
Protected Overridable Sub SetController( _
   ByVal controller As Object _
protected virtual void SetController(
   object controller


Controller for the page.


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

See Also

Page Class | Spring.Web.UI Namespace